04 2016 档案
摘要:iOS7.0 之后,页面布局默认延伸到了手机界面的边缘;导航栏背景成透明颜色. 解决fram从导航栏下面开始方法: 第一种: 将导航栏改成不透明即可 第二种:导航栏透明的情况下,frame从导航栏下面开始 注意: automaticallyAdjustsScrollViewInsets:默认值为YE
阅读全文
摘要:1.command + shift + G ,输入 ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins 2.在Plug-ins文件中找到失效或者无用的插件移除即可
阅读全文
摘要:1.在Info.plist中添加 NSAppTransportSecurity 类型 Dictionary 2.在 NSAppTransportSecurity 下添加 NSAllowsArbitraryLoads 类型 Boolean ,其值设为 YES
阅读全文
摘要:1.command+N > Other > PCH File 2.点击工程 > Build Settings > 搜索框中输入pref > 找到Prefix Header 输入 $(SRCROOT)/pch文件名.pch(例如:PrefixHeader.pch) 可能会报错: /Users/appl
阅读全文
摘要:问题: dyld: Library not loaded: @rpath/libswiftCore.dylib Referenced from: /private/var/mobile/Containers/Bundle/Application/LONGSERIALNUMBER/AppName.ap
阅读全文
摘要:按照如下图所示操作后,接下来创建的类就会带有MN的前缀;如果想更换前缀,则替换MN即可!
阅读全文
摘要:一、 状态栏背景(黑色)的设置 1.在有导航栏的情况下,给导航栏设置一个像素为44的背景图片即可 2.在没有导航栏的情况下,改变window的frame 二、状态栏前景的设置 1.在Info.plist中增加Key:View controller-based status bar appearanc
阅读全文