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"
By Zac Bowling
http://twitter.com/zbowling http://zbowling.com/ I write code. I own a lizard.