1.在iOS10下输入框在编辑状态,APP进入后台,闪退,查看一下项目有没有数组的分类,加-fno-objc-arc
2.xcode10下#import不提示 自定义头文件Xcode --> File --> Workspace Settings --> Build System --> Legacy Build System
3.在iOS下连续presentVC 回到第一个VCA present B, B present C 要从C直接回到B 需要两次dissMiss
把第一次的动画关了 第二次打开
4.iOS 开发自定义一个模板1)首先前往
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/File Templates
2)在File Templates下新建一个文件夹(例如Custom)
3)将Source/Cocoa Touch Class.xctemplate文件夹复制到新建的Custom中修改一下名字
4) 修改中的某个文件以OC的UIViewController为例
5)在.m中添加上你自定义的模板
6) 然后在项目中,新建一个文件,选择Custom模块下
作者:于淼华
14年技术积累,为您的项目保驾护航