w
h
y
?
y
o
u
a
r
e
h
e
r
e
?
准备好两个plist文件
一个正式的Release.plist
一个测试的Debug.plist
plist文件相当于打包上传的时候配置文件
比如是应用商店的
还是本地测试的
是自动管理的
还是手动配置的等等
正式的Release.plist
123456789101112131415161718&
...
下载地址
https://github.com/591xt/iOS-DeviceSupport
然后打开文件夹
1/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
放进去就可以了
TARGETS -> Build Settings -> User-Defined -> Debug -> 添加 x86_64
按内容从长到短
12345678NSArray* array = @[@"a",@"ab",@"abc",@"abcd",@"abcdefg",@"de",@"cdef&
...
更改 Podfile 文件
pod 'RegexKitLite'改为pod 'RegexKitLite-NoWarning'即可
在info.plist中新增一个Tracking Usage Description即可
这个是请求用户授权以访问与应用程序相关的数据以跟踪用户或设备
在iOS14.5上要求必须加
不然不给过
加上就行了
隐藏启动页面状态栏
在info.plist新增一个字段并设置为YES1Status bar is initially hidden
全局隐藏状态栏
勾选上Hide status bar即可
1TARGETS -> General -> Deployment Info -> Hide
...
第一种
1[[NSBundle mainBundle].infoDictionary objectForKey:@"key"];
第二种
12NSString *bundlePath = [[NSBundle mainBundle] pathForResource:@"
...
登录开发者帐号
打开 https://developer.apple.com/download/all/
你就会看到历史版本的Xcode
点击下载就行了
12@property (nonatomic, strong) CMMotionManager* manager;@property (nonatomic, strong) NSOperationQueue *queque;
1234567891011121314151617181920212223
...