Comments (14)
I think it might be a threading issue. The A10 processor in the iPhone7 devices could be causing a race condition when rendering ColorPickerImage
This would also explain why the issue is only occuring on physical iPhone 7 devices
from swiftcolorpicker.
Seeing the same issue. I've noticed this only happens with a physical device. Color picker renders properly on iPhone 7 simulator
from swiftcolorpicker.
Having the same problem. Anyone found a solution yet?
from swiftcolorpicker.
@MrMatthias can you at least try to point me in the right direction with this issue? Or update the status? This is a blocker for any production iOS 10 application.
from swiftcolorpicker.
@aChase55 @sarperdag @JDiDev Can you set the colorspace in PickerImage::createImageFromData like this and see if it fixes the problem:
let colorSpace = CGColorSpace.init(name: CGColorSpace.sRGB)!
I don't have a device to test it
from swiftcolorpicker.
already tried it and it's not working...
from swiftcolorpicker.
I tried to quickload view the img variable in ColorPicker
's drawRect method and got this
[Example] ImageIO: handle_error:350: zlib error
[Example] ImageIO: handle_error:350: No IDATs
Looking into it
from swiftcolorpicker.
@aChase55 can you try to disable the changeSize method in PickerImage? Locking should be coordinated in the ColorPicker class which is not the case.
from swiftcolorpicker.
Made the following changes:
from swiftcolorpicker.
I just ran into this issue as well. iPhone 7 does not show the Color Picker. Did anyone find a fix for this?
from swiftcolorpicker.
Hi all, I am running into the same issue. Did someone find a solution?
from swiftcolorpicker.
@MrMatthias - I see that it does not affect BinaryClock app - any more ideas?
from swiftcolorpicker.
For those looking for the solution - here is the working one FlorianCP@058ed68
from swiftcolorpicker.
I have ported the solution for example branch, will do for master as well.
from swiftcolorpicker.
Related Issues (18)
- How To Use HOT 2
- Example project
- Opacity?
- Image on color picker issue
- Swift 3 latest compatibility HOT 1
- Resize problems HOT 2
- A Popover Controller that works on iOS would be nice
- ColorPicker view doesn't show in iPhone, while shows well in Simulator. HOT 2
- ColorPicker rendering issue when adapting to macOS
- Crashes in iOS 11 due to nil CGDataProvider HOT 1
- Repository branching, new version release HOT 1
- color history
- IBDesignable
- Problem with constraints HOT 11
- It's a lot of error after I add SwiftColorPicker to pod file HOT 3
- Crashes when appearing, Plus screen size HOT 5
- How to add white and Black Color in HuePicker HOT 2
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 swiftcolorpicker.