截取UIView的高清图片
摘要:UIGraphicsBeginImageContextWithOptions(self.view.bounds.size, self.view.opaque, 0.0); [self.view.layerrenderInContext:UIGraphicsGetCurrentContext()]; UIImage * img = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext();
阅读全文
posted @
2014-03-06 16:56
BankFish
阅读(311)
推荐(0) 编辑