bendodson / MonthYearWheelPicker

A UIPickerView subclass that allows you to quickly add a picker for just month and year; in most cases it can be used as a drop-in replacement for UIDatePicker.
https://bendodson.com
The Unlicense
183 stars 42 forks source link

cant show printed message #15

Closed lwirasatria99 closed 3 years ago

lwirasatria99 commented 5 years ago

Do you know why it doesnt work ?

chriswilson1982 commented 4 years ago

What do you mean that you can’t show a printed message? What are you trying to achieve?

Khushtar786 commented 3 years ago

Hii there, Actually, I'm facing a problem date picker is not showing on click of a button in swift 4,5, Please Suggest something

bendodson commented 3 years ago

Original issue - No idea what is being asked. Would need to see a code sample to say why the printed message isn't displaying.

@Khushtar786 To show this from a button you need to do it the same as you would for a normal UIPickerView so you could have it on the page but show / hide it with the button, have it attached as an inputView on a UITextField that is hidden and have the button make the text field become the first responder, or embed it in the view of a view controller and present it with a UIPopoverPresentationController if running on iPad.

Khushtar786 commented 3 years ago

Original issue - No idea what is being asked. Would need to see a code sample to say why the printed message isn't displaying.

@Khushtar786 To show this from a button you need to do it the same as you would for a normal UIPickerView so you could have it on the page but the show / hide it with the button, have it attached as an `input view's on a UITextField that is hidden and have the button make the text field become the first responder, or embed it in the view of a view controller and present it with a UIPopoverPresentationController if running on iPad.

Thanks for the reply I will look into this :)