简体   繁体   中英

iPhone Text and Image Display

I am creating a ebook iPhone application and it consists of a bunch of pages.

My problem is some of the pages consists of images.

Is there a way to put the text and image in the same component.

What would be the best way to acheive this?

Thanks

You can't embed an image in a UITextField , nor the more appropriate UITextView . Consider turning your text into HTML, and using a UIWebView to display it. This would allow you to easily embed images into the text.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM