Zac Bowling
http://twitter.com/zbowling http://zbowling.com/ I write code. I own a lizard.
#ifdef ANDROID
[UIScreen mainScreen].currentMode =
[UIScreenMode emulatedMode:UIScreenBestEmulatedMode];
#endif
- (void)buttonUpWithEvent:(UIEvent *)event { switch (event.buttonCode) { case UIEventButtonCodeBack: // handle back button if possible,
// otherwise exit(0) break; case UIEventButtonCodeMenu: // show menu if possible. break; default: break; } } - (BOOL)canBecomeFirstResponder { return YES; }
@property (nonatomic, readonly) NSString *nativeCPUABI; // e.g. "armeabi-v7a"
@property (nonatomic, readonly) NSString *nativeModel; // e.g. @"Xoom" @property (nonatomic, readonly) NSString *nativeManufacturer; // e.g. @"Motorola"
@property (nonatomic, readonly) NSString *nativeSystemVersion; // e.g. @"4.2" @property (nonatomic, readonly) NSUInteger nativeSDKVersion; // e.g. Froyo is 8 @property (nonatomic, readonly) NSString *macAddress; // requires access_wifi_state @property (nonatomic, readonly) NSString *odin; // open device identifier number @property (nonatomic, readonly) NSString *nativeSecureIdentifier; @property (nonatomic, readonly) NSString *telephonyIdentifier; // read_phone_state
@property (nonatomic, readonly) NSString *carrierBranding; // e.g. @"Verizon"
Foundation - Near full coverage. Major revision in development
CoreFoundation - Common classes covered. Full support in development
CoreAnimation - Limited. New version in development backed by OpenGL
UIKit - Current shipping version is limited to simple UIKit apps. Full UIKit support backed by new CoreAnimation in development
CoreData - Working. Limited to automatic migration support only
AVFoundation - Audio but no video support
MediaPlayer - Video and audio supported (codecs depend on device, ogg is the most universal)
By Zac Bowling
http://twitter.com/zbowling http://zbowling.com/ I write code. I own a lizard.