剑饮龍泉

2016年1月25日

利用SegmentedControl切换控制器的view

摘要: #import "ViewController.h"#import "OneViewController.h"#import "TwoViewController.h"@interface ViewController ()@property (nonatomic, strong) UISegmen... 阅读全文

posted @ 2016-01-25 18:25 SunwinQuan 阅读(243) 评论(0) 推荐(0) 编辑
iOS 截图功能

摘要: 步骤:当我们所需截的图的大小超过我们屏幕的大小时,可以用UIScrollView作为底图,这样就可以截图我们所需的大小,即 UIScrollView*scrollView =self.view.subviews[i]; // i 为scrollerView所在subviews的位置 scrollVi... 阅读全文

posted @ 2016-01-25 17:57 SunwinQuan 阅读(118) 评论(0) 推荐(0) 编辑