-
Notifications
You must be signed in to change notification settings - Fork 27
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
Crashes when appearing, Plus screen size #8
Comments
Currently the size has to be fixed or the buffers need to be adjusted |
Thanks for the quick response! Can you elaborate? Does that mean I need to set a specific width by height size to the color picker area? |
yes, setting a width and height constraint works. |
I can't seem to set a w/h constraint that works for Plus size as well as regular size. They are different sizes, so they need different values...but they are the same size class so I can't use class sizes to set different values. I tried dynamically adjusting the width constraint in viewDidLoad(), but that didn't seem to work. You said "size has to be fixed or the buffers need to be adjusted"...how can I adjust the buffers? This is a great color picker, but if it explodes on some phones, then that's a dealbreaker. :( Please help? Thanks |
Also having issues with Plus size again. Adding it as a custom class in a storyboard causes a crash. Adding in code doesn't crash. Instead, moving the finger causes graphical glitches, even with set width/height. |
I have a set up like so:
But I repeatably/consistently get crashes on this line, using my iPhone 6 Plus and 6s Plus simulator:
SwiftColorPicker/Source/PickerImage.swift
Line 76 in 2fdaf66
Something weird happening to the
CFMutableDataRef
? Size not expected?It's worth nothing I took that screenshot of the UI in the crashed state.
The text was updated successfully, but these errors were encountered: