Closed rakeshkathoju closed 6 years ago
Uhh, thanks for submitting a new issue, @rakeshkathoju. But you're supposed to fill out those questions at the bottom! 😅
Anyway, to answer your question as best as I can: TOCropViewController
doesn't implement IBInspectable
, so it can't really be configured in Interface Builder.
You should be able to use the 'User Defined Runtime Attributes' window in IB to set any initial parameters you'd like the crop view controller to have.
I'm not sure what you mean by 'set image position to center'. The image is automatically centered by default. If you want to zoom in, you'll need to manually calculate the crop frame of the region you want to focus on, which might need to be done in code over IB.
Good luck!
this is what i am getting
by my expected is
pod update
before filing this issue.Hardware / Software
Which version of the library were you using? Which version of iOS are you running? What model of iOS device were you testing on? If using CocoaPods, which version of CocoaPods are you on?
Goals
What is the outcome result you want to achieve with this library?
Expected Results
What did you expect to happen?
Actual Results
What happened instead? (Please attach a screenshot/screen recording if possible)
Steps to Reproduce
What are the steps needed to reproduce this issue? If this bug was caused by a specific image, please post it here.