CooperRS / RMPickerViewController

This is an iOS control for selecting something using UIPickerView in an UIAlertController like manner
MIT License
381 stars 51 forks source link

On iPad with a SplitViewController #43

Closed zanz8 closed 8 years ago

zanz8 commented 8 years ago

Thanks for this Picker! I found this issue: on iPad, I have a Split ViewController with a Toolbar in the bottom on the right panel (Detail), where there is a button that open the RMPickerViewController. Tapping that button, the Picker opens with half of itself (maybe less then half) hided under the left panel (Master) of the Split ViewController. Seems it is trying to open itself at full screen, but maybe not in the right way. Or... I did something wrong! Someone knows how can I fix this unwanted behavior?

Probably it is releted with this: RMPickerViewController/Issues/14 but that solution does not works for me (on iOS 9.2).

UPDATE

Well, I was looking for a simple solution and I found this:

[self.splitViewController presentViewController:pickerController animated:YES completion:nil];

instead of just presenting on self!

CooperRS commented 8 years ago

That's what I would have suggested anyways. Can I close the ticket then? :)