我怎样才能找到身高和身高? UITextView 的宽度
我正在开发 iPhone 应用程序。因为我必须将文本视图内容保存为相册中的图像。我尝试捕获屏幕,但它仅捕获文本视图的可见部分。所以我决定使用textview的高度和宽度来保存。有人可以帮我吗?
I'm developing iPhone app. In that I have to save textview content as image in photo album. I tried to capture the screen but it captured only the visible part of the textview. So I decided to save using textview height and width. Could any one please help me?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
使用
frame
属性怎么样?What about using the
frame
property?你应该做的是将textview层保存到UIImage
What you should do is save the textview layer to a UIImage