6 ratings
  • 1
  • 2
  • 3
  • 4
  • 5
5 star 6
4 star 0
3 star 0
2 star 0
1 star 0
Compatible with
  • iOS

Advanced Color Picker 2.0.1

Xamarin Inc

An open source color picker component for Xamarin.iOS.

AdvancedColorPicker

An open source color picker component for Xamarin.iOS that is very easy to use.

Usage

AdvancedColorPicker is very simple and easy to use. There are two helper methods that allow for quickly presenting a color picker. The first is PresentAsync that returns the selected color:

var color = await ColorPickerViewController.PresentAsync(
    NavigationController, 
    "Pick a color!",
    View.BackgroundColor);

// use selected color

In the case when async method aren't preferrable, there is the synchronous Present method that takes a callback:

ColorPickerViewController.Present(
    NavigationController, 
    "Pick a color!",
    View.BackgroundColor,
    color => {
        // use selected color
    });

If there is need to embed the picker into another view, this can be done using ColorPickerView:

var colorPicker = new ColorPickerView();
colorPicker.ColorPicked += (sender, e) => {
    var color = e.SelectedColor;

    // use selected color
};

Release Notes

Version 2.0

  • Major update
  • Xamarin.iOS Unified support
  • Extracted the ColorPickerView out of the view controller
  • Corrected all the member name casing
  • Using correct events with EventHandler instead of Action
  • Updated the docs and added IntelliSense

Version 1.0

  • Initial release
Write a Review

3 reviews

Elodie rates this with
  • 1
  • 2
  • 3
  • 4
  • 5

Hi, I'm also interesting to know if this component will be updated to support 64 bits

Posted on: February 20, 2015 / Version: 1.0
Gutemberg Ribeiro rates this with
  • 1
  • 2
  • 3
  • 4
  • 5

Hi, When does it get updated to 64bit universal apps???

Posted on: February 13, 2015 / Version: 1.0
Evgeny Loskutov rates this with
  • 1
  • 2
  • 3
  • 4
  • 5

Thank you for this component! Works great in my iPad app from what I can see so far.

Posted on: July 28, 2013 / Version: 1.0