摘要:
1.将pdf文件转NSData NSData *fileData = [NSData dataWithContentsOfFile:@“pdf路径”]; 2.设置文件上传类型、名称及其它约定参数 NSMutableDictionary* params = [NSMutableDictionary d 阅读全文
摘要:
iOS开发中经常需要使用SearchBar,我们可以选择使用UISearchBar+UISearchController或者UISearchBar+UISearchDisplayController(iOS8以前,现在不建议使用)或者直接使用UIsearchBar。UISearchBar+UISea 阅读全文
摘要:
iOS开发经常出现cell需要多个按钮,一般以为要导入第三方框架。但其实iOS 8以后,系统提供了UITableViewRowAction以及新的delegate方法,使得自定义一些操作变得非常容易。诸如置顶,删除,修改,更多,收藏等按钮。 - (NSArray *)tableView:(UITab 阅读全文
摘要:
今天运行pod install 居然抛出一个xcrun: error: active developer path ("/Users/wangwei/Downloads/Xcode.app/Contents/Developer") does not exist错误,然后一想昨天都是正常的,怎么会产生 阅读全文