排序
iOS NSString 创建和初始化
iOS NSString 创建和初始化 + (instancetype)string; + (instancetype)stringWithString:(NSString *)string; + (instancetype)stringWithCharacters:(const unichar *)characters length:(NSUI...
Xcode – Unlock iPhone to Continue,iPhone is locked.
Xcode – Unlock iPhone to Continue,iPhone is locked. 1.断开设备和Mac的连接(拔线) 2.重启Xcode(完全关闭后,再次打开本项目) 3.连接设备和Mac(插线) 4.运行 5.若出现信任设备弹框,选...
iOS NSString 替换字符串
iOS NSString 替换字符串 - (NSString *)stringByReplacingOccurrencesOfString:(NSString *)target withString:(NSString *)replacement options:(NSStringCompareOptions)options range:(NSRa...
iOS NSURL URLWithString 与 fileURLWithPath 区别
iOS NSURL URLWithString 与 fileURLWithPath 区别 - URLWithString 与 fileURLWithPath 的区别在于前者用于网络,后者用于本地 NSURL *appURL = [NSURLURLWithString:urlString]; //网络url NS...
Xcode – Xcode13 The Legacy Build System will be removed in a future release
Xcode – Xcode13 The Legacy Build System will be removed in a future release - The Legacy Build System will be removed in a future release. You can configure the selected build sys...
Object-C 保存文件到相册
Object-C 保存文件到相册 1.UIImageWriteToSavedPhotosAlbum 2.AssetsLibrary 3.PHPhotoLibrary Xcode – This app has attempted to access privacy-sensitive data without a usage descripti...