0

How can I avoid transparency in the iOS 7 picker from the web page (not app)? So far I have only found this (Avoid UIDatePicker transparency in iOS7) but it works only for app.

Community
  • 1
  • 1
Angela
  • 1,064
  • 1
  • 11
  • 23
  • u mean on web view element of ios?? – Nayan Dec 24 '13 at 12:56
  • @NSS I'm not sure what you mean, but I mean from a webpage's perspective not from an app perspective – Angela Dec 24 '13 at 12:57
  • Check this link : http://stackoverflow.com/questions/388814/date-picker-for-iphone-web-application This might help you.. – P.J Dec 24 '13 at 13:03
  • @P.J sorry, that's not what I mean. I want to avoid background transparency in the new picker in iOS7 – Angela Dec 24 '13 at 13:52
  • @Angela The above link does have other custom controls and solution to modify background. Also, there is a trick, try to add picker by setting some background color and something like that... Something on background which removes transparency. – P.J Dec 24 '13 at 14:38

1 Answers1

0

You cannot accomplish this using standard HTML, JavaScript or CSS means.

Léo Natan
  • 56,823
  • 9
  • 150
  • 195
  • But what about events? does Safari trigger some kind of event when the picker is initiated? If so I can still salvage it by creating a temporary overlay of some sort – Angela Dec 24 '13 at 14:00
  • @Angela: I don't think that u will get allowed to play with Apple's in-built app's events as u r thinking! – Nayan Dec 26 '13 at 09:12
  • @NSS This is a web page; why do you think Apple has any say in it? If indeed there is some event thrown and possible to listen to, it would be possible to just add a view where the picker should be. – Léo Natan Dec 26 '13 at 09:18