Excellent iPhone Email App Tutorial
iphone programming from Joe on Vimeo
Definitely worth the time to watch. Make sure you click on through and say thanks to Joe!
iphone programming from Joe on Vimeo
Definitely worth the time to watch. Make sure you click on through and say thanks to Joe!
Twitter links powered by Tweet This v1.6.1, a WordPress plugin for Twitter.
Complete newbie here..
When I modify the .m file as shown:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
if (interfaceOrientation != UIInterfaceOrientationlandscapeleft)
return (UIInterfaceOrientationlandscapeleft);
return YES;
}
..then hit Build and Go, it returns the error:
“error: ‘UIInterfaceOrientationlandscapeleft’ undeclared (first use in this function).
I added the entry in the Info.plist file as instructed. What am I missing?
THANKS!
Try this instead:
UIInterfaceOrientationLandscapeLeft
Cocoa is case sensitive – so UIInterfaceOrientationlandscapeLeft is not the same as UIInterfaceOrientationLandscapeLeft
@brandon
Thanks Brandon! That was it- I could have sworn I tried that too.. The video specifically says to use lowercase in one place then shows Mixed in another but I guess it taught me a valuable lesson. Cheers!
No problem – glad you got it sorted. You’ll come to find you spend a lot of your time beating your head against the desk, only to find it was something you thought you already tried…
Great tut, thank you so much. I was figuring out how to incorperate email into my app, this confirmed that what I was doing is fine, the only thing is, I am still trying to see if I can send the file my app created, any suggestions?
Thank you again.
http://code.google.com/p/skpsmtpmessage/
To my understanding sending en email w/ an attachment is a no go unless you use your own smtp… which is what the goal of the above project was. Let me know how that works out for you!