工欲善其事
ultimatexin
这个作者很懒,什么都没留下…
展开
-
ARC与非ARC_ultimatexin
如果,你的开发基调是不用自动内存释放,又发现一些ARC的代码比较好,那么,对于这些个极其特殊的分子,你要在其compile source 中, 点击项目导航文件--> 选中Targets--> 选择 Build Phases --> 展开Compile Sources; 之后对于这些添加 -fobjc-arc (说明这些外来客是要用arc的) 如果,开发基调为AR原创 2013-04-02 17:41:54 · 375 阅读 · 0 评论 -
UIWindow Notifications
UIWindowDidBecomeVisibleNotificationUIWindowDidBecomeHiddenNotification UIWindowDidBecomeKeyNotification UIWindowDidResignKeyNotification UIKeyboardWillShowNotification UIKeyboardDidSh原创 2013-04-19 10:54:57 · 707 阅读 · 0 评论 -
Push Notification Service (APNs)
TLS: transport layer security (运输层安全协议)TLS: iOS Application: share tokentoken trust (Notification)原创 2013-04-16 16:32:21 · 767 阅读 · 0 评论 -
about backgroundTask
beginBackgroundTaskWithExpirationHandler: Marksthe beginning of anew long-running backgroundtask.- (UIBackgroundTaskIdentifier)beginBackgroundTaskWithExpirationHan原创 2013-04-16 13:56:32 · 468 阅读 · 0 评论 -
certificate
Request: Please read each sentence carefully! Generate:原创 2013-04-16 17:02:01 · 490 阅读 · 0 评论 -
openURL(注意backgroundTask 的学习)
pseudo:if( [ UIApplication sharedApplication] canOpenURL:url){openURL}idleTimerDisabled=NO; //屏幕可关idleTimerDisabled=YES; //闲散的timer,不让你去计算了。networkActivityIndicatorVisiblestatusB原创 2013-04-16 10:21:31 · 624 阅读 · 0 评论 -
获取iOS本地空间大小
采用一个类别: UIDevice-hardware.h UIDevice-hardware.m里面有相应的方法。。。。原创 2013-04-16 19:05:31 · 661 阅读 · 0 评论 -
backgroundTask
Implementing Long-Running Background TasksFor tasks that require more execution time to implement, you must request specific permissions to run them in the background without their being suspended原创 2013-04-16 11:02:18 · 690 阅读 · 0 评论 -
关于屏幕旋转
注意相应的几个顺序重点关注: willRotateToInterfaceOrientation:duration: didRotateFromInterfaceOrientation:这两个方法原创 2013-04-16 09:41:48 · 447 阅读 · 0 评论 -
iOS的UIDevice
关于这个UIDevice的几个方向的问题:要看Home键。 LandscapeLeft LandscapeRight;在不锁屏的情况下面,当屏幕在旋转的过程中,system sends out : UIDeviceOrientationDidChangeNotification如果有需求的话,可以在消息中心中注册这个消息。原创 2013-04-15 14:09:00 · 481 阅读 · 0 评论 -
关于屏幕旋转的问题
当设备方向发生变化时,UIKit 会收到相应通知,这个时候; UIApplication object 和 the root view controller 来决定, 这个旋转是否可以。如果两者都说可以,那么就行;否则的话,就转不了。Returns whether the view controller’s contents should auto rotate.原创 2013-04-15 14:51:59 · 414 阅读 · 0 评论 -
Xcode设置默认括号对齐方式_ultimateXin
在终端(terminal)中输入命令:defaults write com.apple.Xcode XCCodeSenseFormattingOptions -dict BlockSeparator "\n"原创 2013-04-02 17:28:30 · 1101 阅读 · 0 评论 -
UINib Class的学习
UINib : object wrappers , or containers.An UINib object caches the contents of a nib file in memory.#define DARK_BACKGROUND [UIColor colorWithRed:151.0/255.0 green:152.0/255.0 blue:155.0/2原创 2013-04-17 11:33:26 · 1283 阅读 · 0 评论