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

display text #55

Closed patikzetrixweb1234 closed 7 years ago

patikzetrixweb1234 commented 7 years ago

how to display text when my array is nill. for eg. i have data for country name then i show all the list of country.but while i don't have then how to put text "Don't have any country..."

CooperRS commented 7 years ago

Hi there!

Do you want to replace the UIPickerView in this case? Unfortunately, this is not possible right now. In case of an empty array, you could present just a UIActionController for displaying the text. If your array is non empty you then present a UIPickerViewController.

Best regards, Roland