开发者

getting the index of a characterset in a string

开发者 https://www.devze.com 2023-01-07 15:18 出处:网络
i have to put UIImageView object at those places in my string where i have got special character.For that i have replaced those special characters with spaces so that i can put my imageView in that sp

i have to put UIImageView object at those places in my string where i have got special character.For that i have replaced those special characters with spaces so that i can put my imageView in that space.Now the problem is getting the x co-ordinate of the imageView.Remember i may have to many imageViews nd there indexex are dynamic.Can someone h开发者_JAVA技巧elp me?


Using UIImageViews is hardly an optimal solution. You might try using a UIWebView or do your own drawing (using Core Graphics or Core Text).

0

精彩评论

暂无评论...
验证码 换一张
取 消