2011-05-16 55 views

回答

1

CWUIKit项目对UIImage类别添加一个方法是这样的:

UIImage* subimage = [originalImage subimageWithRect:CGRectMake(0, 0, 100, 100)]; 

应该对您有用。