-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add showAttachedCropToolbar option to CropToolbarConfig #177
Conversation
Mantis.podspec
Outdated
@@ -21,7 +21,7 @@ Pod::Spec.new do |s| | |||
s.social_media_url = "http://twitter.com/guoyingtao" | |||
s.platform = :ios | |||
s.swift_version = "5.0" | |||
s.ios.deployment_target = "11.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change really necessary? I still have deployment_target = "12.0"
for my app
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is because of my previous PR #169
I added a CropToolbarIconProvider also I decided to use SF Symbol for CropToolbar icons instead of drawing them by myself, which needs iOS 13.
With apple's iOS 16 coming soon, I think it might be a good timing to move to iOS 13 because it also supports Combine, SwiftUI etc.
@vanniktech |
change CocoaPods deployment target 13.0 update an example to show showNativeCropToolbar's support remove some unnecessary self
rename showBottomCropToolbar to showAttachedCropToolbar
add getCancelIcon and getCropIcon to CropToolbarIconProvider protocol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lovely, thanks!
This PR solves #173
@vanniktech
I added showBottomCropToolbar option to CropToolbarConfig, you can check the example
Hide Rotation Dial