开发者

iOS: how can I implement a color picker into my app?

How can I implement a color picker for my app like this: http://cl.ly/8pqv into my application?

And possibly compatible with iOS 3.0?

Or are there any librarie? I need th开发者_C百科e wheel with all colors..


I actually have a class called ANColorPicker. It provides a wheel interface with a brightness selector on the side. You can check it out on the ANColorPicker Github Repository. There are also a few forks of this project that have different features/capabilities in which you may be interested.


You might try this method. Basically, you would create your own image of a color wheel, then when the user touches part of the image, you find the color of the pixel at the touch point and make that the currently selected color. Otherwise, if you don't have to have a circular color picker, here is an example of a square color picker with source code.


I thought I would throw my color picker into the ring. I use it in my app, You Doodle and I spent a couple weeks making it and testing it in the app. It contains a sample project to show you how to get started with it and is open sourced under the MIT license. It supports any device (iOS 6+), any resolution and portrait and landscape. Favorites, recents, color by hue, color wheel and importing textures, as well as deleting and moving favorites to the front is supported.

I've tried to combine the good pieces of all the other color pickers and ensure that the MIT license allows a no hassle integration into any project.

Github: https://github.com/jjxtra/DRColorPicker

Screenshots:

iOS: how can I implement a color picker into my app?

iOS: how can I implement a color picker into my app?

iOS: how can I implement a color picker into my app?

iOS: how can I implement a color picker into my app?

iOS: how can I implement a color picker into my app?

iOS: how can I implement a color picker into my app?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜