<分区>
<分区>
Possible Duplicate:
Convert UIWebview contents to a UIImage when the webview is larger than the screen
UIGraphicsBeginImageContext
可以将 View 转换为图像。但如果表格 View 比屏幕长,该函数将无法显示整个表格 View 。
我该怎么做?
最佳答案
查看此答案:https://stackoverflow.com/a/5104559/254422
只需将 UIWebView
替换为 UITableView
即可。
关于iphone - 当 tableview 比屏幕长时将其转换为图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13668206/
相关文章:
ios - Swift 1.2 - Xcode 6.4 - 如何使用 Parse.com 发送短信 (sms) 类似于发生了什么?
ios - 如何在 iOS 10 下的我的 SDK 项目中查看 NSLog
ios - 需要创建一个用户默认值,将双倍保存为高分(swift 3)
ios - UITableViewCell ImageView Resize - 选定的行改变图像大小
ios - 使用 `Visual Effect View with Blur` 减少模糊?
iphone - 如果使用全屏,则无法在 MoviePlayer 中看到按钮
iphone - 如何在 iOS 应用程序中从 OBD 访问数据