![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
IOS笔记
文章平均质量分 59
Ronald Zhou
这个作者很懒,什么都没留下…
展开
-
Tab Bar Controller
Tab Bar Controller 添加新标签默认只有Item1和Item2 两个页面,现在添加新页面1、拖一个新的 view Controller 到storyboard,2、拖 Tab Bar Item 到这个新的 view Controller里面3、按住control连线到新的view Controller ,选择View Controllers 方式...原创 2018-09-06 13:13:27 · 492 阅读 · 1 评论 -
ios 点击textField 屏幕上移和Return键隐藏键盘
一、textField输入文字时,点击return键收起键盘1、实现Did End On Exit事件即可 多个textField可以重复连接到同一个事件 事件里面不需做任何事。二、实现点击输入时屏幕上移,输入完成后下移func animateViewMoving (up:Bool, moveValue :CGFloat){ let movementDur...原创 2018-09-13 18:39:36 · 696 阅读 · 0 评论 -
使用Pod 安装第三方CocoaAsyncSocket、Kingfisher
使用Pod 安装第三方CocoaAsyncSocket安装好pod 环境后安装好pod 环境后打开mac 终端,ls 查看当前目录文件,cd到当前工程目录,vim Podfile按i切换到输入模式,输入内容:platform :ios, ‘10.0’target ‘你工程名’ douse_frameworks! # Add this if you are targeting iOS 8...原创 2019-05-05 12:35:17 · 2425 阅读 · 1 评论