摘要:
加载一个ViewController,我们通常使用init或者initWithNibName方法初始化,但是有的时候会出现一些需要初始化的值没有得到正确的设置,下面给出代码看下实际的效果。 第一种情况:正常初始化 执行结果输出如下: 2018-02-06 16:13:07.236401+0800 Y 阅读全文
摘要:
1、xcode7/ios 访问网络报错:The resource could not be loaded because the App Transport Security policy requires the use of a secure connection. 解决方案: iOS9引入了新 阅读全文
摘要:
当透明度的值设置为0的时候,相当于hidden alpha PropertyThe view’s alpha value.DeclarationSWIFTvar alpha: CGFloatOBJECTIVE-C@property(nonatomic) CGFloat alphaDiscussion 阅读全文
摘要:
在iOS7.0以后,UIViewController添加了automaticallyAdjustsScrollViewInsets,关于此属性的描述看官方文档解释 automaticallyAdjustsScrollViewInsets PropertyA Boolean value that in 阅读全文