在 uitextview 周围添加自定义边框,但几乎超出其范围
我如何向 uitextview 添加边框,使其超出其范围。我可以给出边框的位置吗,还是必须添加自定义边框并为其提供位置。任何帮助将不胜感激。
How can i add border to uitextview little beyond its bounds. Can i give the location for border or do i have to add custom border and give position to it.Any help will be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这是很容易的任务。你必须添加石英核心框架
并编写以下行
it's easy task. you have to add quartz core framework
and write the following line
添加“QuartzCore”框架并将其导入到
.h 文件中的
HeaderFile 中以设置 TextView 中的边框
Add "QuartzCore" Framework And Import It in your HeaderFile
in .h File
For Setting The Border IN TextView
这具有非常简单的集成和出色的文本视图自定义: https://github.com/99centsappdevelopment/JSTextView
This has really simple integration and brilliant text view customisation: https://github.com/99centsappdevelopment/JSTextView