apple

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.

Free iPad Stand

With a few things found around the office you too can have an iPad stand. What you need:

  • Business Card Holder
  • 4 Paper Clips

For those of you who have money to waste here are some alternatives:

Check out this awesome piece of office equipment in action:





CIDUG Meeting

When: 
Tuesday, April 28, 2009 - 6:30pm

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.