iphone
IOS Orientation Change
I recently had to find and use the orientation on an IOS project so i used [[UIDevice currentDevice] orientation]. This worked most of the time but I noticed there were times that it did not detect the orientation correctly.
Sometimes it would return zero when the actual device was in landscape. After some searches and a few tests I found out that it only happened when the app was started in landscape mode and never rotated before the orientation was read.
So, it would seem that until the first rotation that orientation will always be zero. From the tests I found that using [UIApplication sharedApplication].statusBarOrientation is much more accurate.
Use
[UIApplication sharedApplication].statusBarOrientation
to find the orienation of an IOS device.
CIDUG Meeting
Learn the basics of XCode, Interface Builder and Instruments to build
native iPhone Applications.
Place:
OCLC’s Kilgour building auditorium
Address:
OCLC Online Computer Library Center, Inc.
6565 Frantz Road
Dublin, OH 43017-3395 USA
iPhone Programming Basics 1-1
Another iphone programming tutorial from youtube.
UITableView iPhone Programming Tutorial - Part 1
iPhone programming tutorial from youtube.
iPhone Programming
Here is where iPhone programming related info goes
