I've create a custom UIPickerView with "Done" button but I have trouble to remove it from screen. This is the result of create the UIPickerView:
I've try to use this function:
public void removeAll(UIPickerView picker){
this.toolbar.RemoveFromSuperview ();
picker.RemoveFromSuperview ();
}
But the result is:
Resolved with:
public void removeAll(UIPickerView picker){
this.toolbar.RemoveFromSuperview ();
picker.Layer.Opacity = 0f;
picker.Layer.Bounds = new RectangleF(0,0,0,0);
picker.RemoveFromSuperview ();
}