Mina Dawoud
Mina Dawoud

Reputation: 418

Connecting UIDatePicker to UIWebView

I have a local html file in my ios app that's displayed in a UIWebView. This HTML displays a oriental date. My question is how could I connect a UIDatePicker to this UIWebview?

Thanks in Advance!

Upvotes: 0

Views: 119

Answers (1)

Adam Waite
Adam Waite

Reputation: 18855

Just use HTML:

<input type="date" name="birthday">

No need to mix Objective-C and HTML here, it's generally not a good thing to do anyway and will cause rejection on the App Store.

Upvotes: 1

Related Questions