摘要:
CGRect screenBounds = [ [UIScreen mainScreen]bounds];//返回的是带有状态栏的Rect NSLog(@"%@", NSStringFromCGRect(screenBounds)); CGRect viewBounds = [ [U... 阅读全文
posted @ 2014-06-25 14:09
菜鸟程序猿
阅读(394)
评论(0)
推荐(0)
摘要:
这个方法很实用,特别是在做水印相机得时候。。。- (UIImage*) imageWithUIView:(UIView*) view{ // 创建一个bitmap的context // 并把它设置成为当前正在使用的context UIGraphicsBeginImageCo... 阅读全文
posted @ 2014-06-25 09:37
菜鸟程序猿
阅读(421)
评论(0)
推荐(0)

浙公网安备 33010602011771号