• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • YouClaw
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






ericiOS

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

04 2014 档案

 
iOS 学习笔记(截屏)
摘要:OC代码如下- (UIImage *)captureScreen:(UIView *)mView size:(CGSize)mSize {// Creates a bitmap-based graphics context and makes it the current context//创建一个位图,并成为当前的背景 UIGraphicsBeginImageContext(mSize);// Renders the receiver and its sublayers into the specified context//渲染给子layer提供一个特定的背景 [mView.lay... 阅读全文
posted @ 2014-04-09 19:26 ericiOS 阅读(196) 评论(0) 推荐(0)