Reputation: 2186
How i can create a view like in this image in iOS. I need to create a view so that image and the texts should be like that.
Upvotes: 0
Views: 95
Reputation: 1225
Since iOS 7 in UITextView
there is textContainer
property of type NSTextContainer.
You can set there exclusionPaths
property which is an array of UIBezierPath
objects that define your images' shapes. The text will float around those shapes. After that simply add an image view in proper place above text view.
Upvotes: 3