会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
wni若安好
博客园
首页
新随笔
联系
管理
订阅
[置顶]
iOS PDF上传简单逻辑。
摘要: 1.将pdf文件转NSData NSData *fileData = [NSData dataWithContentsOfFile:@“pdf路径”]; 2.设置文件上传类型、名称及其它约定参数 NSMutableDictionary* params = [NSMutableDictionary d
阅读全文
posted @ 2018-07-19 14:28 wni若安好
阅读(663)
评论(0)
推荐(0)
[置顶]
iOS开发之直接使用UISearchBar
摘要: iOS开发中经常需要使用SearchBar,我们可以选择使用UISearchBar+UISearchController或者UISearchBar+UISearchDisplayController(iOS8以前,现在不建议使用)或者直接使用UIsearchBar。UISearchBar+UISea
阅读全文
posted @ 2016-04-15 10:45 wni若安好
阅读(173)
评论(0)
推荐(0)
[置顶]
iOS开发之cell多按钮
摘要: iOS开发经常出现cell需要多个按钮,一般以为要导入第三方框架。但其实iOS 8以后,系统提供了UITableViewRowAction以及新的delegate方法,使得自定义一些操作变得非常容易。诸如置顶,删除,修改,更多,收藏等按钮。 - (NSArray *)tableView:(UITab
阅读全文
posted @ 2015-12-06 19:57 wni若安好
阅读(341)
评论(0)
推荐(0)
2018年6月23日
Cocoapods报错xcrun: error: active developer path ("/Users/wangwei/Downloads/Xcode.app/Contents/Developer") does not exist
摘要: 今天运行pod install 居然抛出一个xcrun: error: active developer path ("/Users/wangwei/Downloads/Xcode.app/Contents/Developer") does not exist错误,然后一想昨天都是正常的,怎么会产生
阅读全文
posted @ 2018-06-23 17:11 wni若安好
阅读(1650)
评论(0)
推荐(0)
公告