iPhone SDK Examples
Logging
In Xcode, click Run > Console to see NSLog statements.
NSLog(@”log: %@ “, myString); NSLog(@”log: %f “, myFloat); NSLog(@”log: %i “, myInt);
Display Images
Display an image anywhere on the screen, without using UI Builder. You can use this for other types of views as well.
CGRect myImageRect = CGRectMake(0.0f, 0.0f, 320.0f, 109.0f); UIImageView *myImage = [[UIImageView alloc] initWithFrame:myImageRect]; [...]
0
