iOS截屏工具( UIView,UITableView,UICollectionView,UIWebView)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
CutterTest.xcodeproj
CutterTest
Screenshot 1.0.0版 Apr 5, 2016
.gitignore
LICENSE Initial commit Apr 5, 2016
README.md 1.0.0版 Apr 5, 2016

README.md

Cutter

介绍

iOS截屏工具( UIView,UITableView,UICollectionView,UIWebView) 。

代码示例

/*

//  使用说明

//  没有导航和tabbar
	UIImage *image = [self.view viewCutter];

//  有导航和tabbar
	UIImage *image = [self.navigationController.view viewCutter];

//  UICollectionView
	UIImage *image = [self.collectionView scrollViewCutter];

//  UITableView
	UIImage *image = [self.tableView scrollViewCutter];

//  UIWebView
	UIImage *image = [self.webView scrollViewCutter];

*/

图片示例:

Cutter-1 Cutter-2 Cutter-3