是否可以使用 iphone sdk 在 textview 中显示两个对齐方式?
在我的应用程序中,我需要在文本视图中显示阿拉伯文本和英语文本。阿拉伯语文本应右对齐,英语文本应左对齐。
可以用文本视图吗?我尝试使用网络视图而不是文本视图,并且得到了我需要的东西。但是滚动网页视图非常慢。
In my app i need to show Arabic text and English text in a textview. The Arabic text should be right aligned the English text should be left aligned.
Is it possible with a textview? I have tried using a webview instead of a textview, and I am getting what I need. But scrolling the webview is very slow.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要为该属性使用相同的名称
selectionString
而不是selctionString
。或者您需要声明属性名称并使其合成:
You need to use the same name for the property,
selectionString
instead ofselctionString
.Or you need to declare the property name and make it synthesize: