Reputation: 9219
I am creating an iPhone app in which I want to give the user the ability to change shape of a given image as shown below. How can I achieve that?
Please let me know.
Upvotes: 0
Views: 462
Reputation: 38249
SPUserResizableView is a user-resizable, user-repositionable UIView subclass. It is modeled after the resizable image view from the Pages iOS app. Any UIView can be provided as the content view for the SPUserResizableView. As the view is respositioned and resized, setFrame: will be called on the content view accordingly.
Refer SPUserResizableView link for sample code.
Upvotes: 2