Home > Coding > Excellent iPhone Email App Tutorial

Excellent iPhone Email App Tutorial

February 25th, 2009


iphone programming from Joe on Vimeo

Definitely worth the time to watch. Make sure you click on through and say thanks to Joe!

Post to Twitter Tweet This Post

brandon Coding ,

  1. SirChasm
    April 9th, 2009 at 07:52 | #1

    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!

  2. brandon
    April 9th, 2009 at 08:33 | #2

    Try this instead:

    UIInterfaceOrientationLandscapeLeft

    Cocoa is case sensitive – so UIInterfaceOrientationlandscapeLeft is not the same as UIInterfaceOrientationLandscapeLeft

    :)

  3. SirChasm
    April 9th, 2009 at 12:36 | #3

    @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!

  4. brandon
    April 9th, 2009 at 14:21 | #4

    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…

  5. rich
    April 14th, 2009 at 03:30 | #5

    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.

  6. brandon
    April 14th, 2009 at 18:58 | #6

    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!

Twitter links powered by Tweet This v1.6.1, a WordPress plugin for Twitter.