摘要: NSAppTransportSecurity NSAllowsArbitraryLoads 阅读全文
posted @ 2016-05-29 15:57 雷坤 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 1>.h声明属性 2>.m实现步骤 3>在ViewController里设置UIScrollView的代理Delegate和给UIPageControl添加事件 阅读全文
posted @ 2016-05-29 15:33 雷坤 阅读(503) 评论(0) 推荐(0) 编辑
摘要: 1 //当点击键盘return键的时候 2 - (BOOL)textFieldShouldReturn:(UITextField *)textField 3 { 4 [textField resignFirstResponder]; // 释放第一响应者 5 NSLog(@"%@",textField.text); 6 return YES; 7 } 1 // 触摸屏... 阅读全文
posted @ 2016-05-29 14:48 雷坤 阅读(585) 评论(0) 推荐(0) 编辑
摘要: #import "RootViewController.h" #import "RootView.h" #import "SecondViewController.h" @interface RootViewController ()// 设置代理 @property (nonatomic, strong) RootView *rootView; @end @implementation R... 阅读全文
posted @ 2016-05-29 14:39 雷坤 阅读(134) 评论(0) 推荐(0) 编辑