排序
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...
iOS NSString 和 bool 相互转换
iOS NSString 和 bool 相互转换 NSString *str1 = @'YES'; NSString *str2 = @'NO'; //ok NSLog(@'str1 = %d str2 = %d',[str1 boolValue],[str2 boolValue]); BOOL a = YES; BOOL b = NO; NSSt...
IOS – UIImage imageWithContentsOfFile 和 imageNamed 区别
IOS - UIImage imageWithContentsOfFil 和 imageNamed 区别 - 使用 imageNamed 加载沙盒的素材,偶尔不正常,有时候为上一次加载的素材,即路径正常,加载的素材又可能是上一次缓冲区的素材(头...
iOS NSString 获取中文字符串长度
iOS NSString获取字符串长度,NSString获取字符串长度,NSString lengthOfBytesUsingEncoding, NSString length,NSString计算中文长度,
iOS NSString 字符串排序
NSString 字符串的排序 - NSString 字符串的排序 sortedArrayUsingComparator sortedArrayUsingSelector sortedArrayUsingDescriptors
iOS NSValue 和 CGPoint 相互转换
iOS NSValue和CGPoint转换,NSValue转CGPoint,CGPoint转NSValue,NSValue和CGPoint转换,猿说编程,
iOS UIImage 与 RGBA 相互转换
iOS UIImage 与 RGBA 相互转换 - UIImage 转 RGBA RGBA 转 UIImage iOS 视频图像开发中无法避免使用到 UIImage 与 Bytes Pixel 之间转换。bytes pixel 可以理解为将一张图片的所有像素点写到二...