2015
04-02
04-02
IOS Orientation 详解
最近开发IOS遇到一个问题,
为了支持UI布局横屏竖屏,监听了
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(notifyOrientation:) name:UIDeviceOrientationDidChangeNotification object:nil]; 继续阅读
最近开发IOS遇到一个问题,
为了支持UI布局横屏竖屏,监听了
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(notifyOrientation:) name:UIDeviceOrientationDidChangeNotification object:nil]; 继续阅读
NSString 转 UNICODE char*:
NSString* value = @“value”;
cosnt char* str = [value cStringUsingEncoding:NSUnicodeStringEncoding]; 继续阅读