iOS
tangjianft
php asp asp.net web 开发相关
展开
-
swift selector 按钮点击事件
1、导航栏按钮UIBarButtonItem( title: "Some Title", style: UIBarButtonItemStyle.Done, target: self, action: "flatButtonPressed")2、普通按钮flatButton.addTarget(self, action: "flatButtonPr原创 2015-09-15 10:05:43 · 4832 阅读 · 0 评论 -
Cocoapods安装使用步骤
1、安装, $ sudo gem install cocoapods2、初始化,$ pod setup ( $ pod init ) 进入所在项目目录,跟 Xcode project (.xcodeproj) 同目录3、建立podfile 文件,编辑$ touch Podfile$ open -e Podfileplatform :ios, '7.0'pod 'AFNetw原创 2015-03-22 23:48:03 · 359 阅读 · 0 评论 -
ios开发注意事项
1、UIViewController 只能绑定 view controller视图,而不能绑定 tableview controller视图。2、昨天用PS导出的PNG图片,放到XCODE里编译出错,后面改 PS导出PNG-24图片格式就正确了,目前还不知道什么原因。原创 2015-03-28 16:37:03 · 503 阅读 · 0 评论 -
IOS常见问题整理
1、出现http无法上网问题,设置info.plist --add row---App transport security Settings --allow arbitray loads == yes(极光推送的还是需要设置 NSAppTransportSecurity.....)如果你要播放在线HTTP视频,需要做如下处理: 在info.plist的NSAppTransportSecu原创 2016-11-04 15:24:37 · 689 阅读 · 0 评论