UI to allow user to scale and crop image within a circle
UI to allow user to scale and crop image within a circle
- Subject: UI to allow user to scale and crop image within a circle
- From: Charles Jenkins <email@hidden>
- Date: Sun, 21 Feb 2016 20:48:17 -0500
I’m trying to do something that’s so simple, conceptually, that I’m sure there’s a demo program for it, if only I could find the right Google search to locate it.
I want to allow iOS users to select an image (either from the camera roll or by taking a photo) and display it in a CIRCLE for cropping. Users should be able to scale and position the image as they like to fit within the circle, then tap a DONE button to have the image cropped and saved into my app’s image store.
I spent all day today screwing around making a view controller with a scrollview containing an imageview, and I haven’t figured out how to make the circle overlay correctly to fit over the scrollview.
Does anybody know of a demo program that’ll show me how to do this?
--
Charles
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden