开发者

Embed images within a block of text on iPad

开发者 https://www.devze.com 2023-01-03 10:49 出处:网络
I would like to embed an image within a bl开发者_开发技巧ock of text. The image would be 1 line high. I am able to drag the image around over the text but I want to be able to insert it between words

I would like to embed an image within a bl开发者_开发技巧ock of text. The image would be 1 line high. I am able to drag the image around over the text but I want to be able to insert it between words (with the words wrapping in the textview accordingly)

Any ideas how I can go about this?

Thanks.


You could try to use CoreText, and create text boxes on all four sides of the image.

http://developer.apple.com/mac/library/documentation/Carbon/Conceptual/CoreText_Programming/Introduction/Introduction.html

0

精彩评论

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