Comments (3)
from tocropviewcontroller.
Hi Tim, thanks for the quick reply!
The following suggestion didn't work and result in the same error:
presentViewController(controller, animated: false, completion: nil)
self.controller.cropView.setAspectLockEnabledWithAspectRatio(CGSizeMake(4, 1), animated: false)
However, This code did work and displayed the cropView size as expected:
presentViewController(controller, animated: false, completion: {
self.controller.cropView.setAspectLockEnabledWithAspectRatio(CGSizeMake(4, 1), animated: false)
})
from tocropviewcontroller.
Good to hear you got it working in the end! :)
from tocropviewcontroller.
Related Issues (20)
- Cropping conflicts with Stage Manager window resize gesture HOT 1
- Is this project abandoned? HOT 1
- Getting deprecation warnings when compiling for iOS 16. HOT 2
- When the screen is horizontal, it should support the toolbar on the left or right
- How do you match foreground to background? HOT 1
- How to integrate this into my ios sdk HOT 1
- How to remove close button from the toolbar. HOT 1
- Request To Allow User To Change Modal Presentation Style Of CropViewController HOT 2
- Inquiry about Support for Apple's Privacy Manifest Files #2308 HOT 2
- Supports custom subview and public func crop, rotate,... HOT 1
- If you can drag the crop box at will, it is similar to dragging the crop box during scanning
- Privacy Manifest - Missing an expected key: 'NSPrivacyCollectedDataType' HOT 3
- Replace UIGraphicsBeginImageContextWithOptions (Deprecated)
- Privacy Policy causes RN 0.74.1 to not build
- Fail to build HOT 2
- SwiftUI compatibility
- [UIImage croppedImageWithFrame:angle:circularClip:]: unrecognized selector sent to instance HOT 1
- Finder Menu Bar is reversed whn running Swift example target Mac Catalyst
- Back Button is not hiding when presenting CropViewController
- Is there any way to use more than one customAspectRatio preset?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tocropviewcontroller.