Re: WebView and PickerView problem
Re: WebView and PickerView problem
- Subject: Re: WebView and PickerView problem
- From: Andy Lee <email@hidden>
- Date: Wed, 23 Sep 2009 13:47:26 -0400
This is also deliberate. From a quick test on my iPhone (amazon.com),
it looks like when the picker view appears the WebView scrolls as
necessary so that the <select> element is not hidden by the picker
view. It does a similar thing when you start editing a text field. I
doubt there is anything you can do about it, and I'm not sure I'd want
there to be. Maybe a more experience iPhone developer will say
otherwise.
--Andy
On Sep 23, 2009, at 10:32 AM, Bartosz Białecki wrote:
I want to see some control (i.e. PickerView) when I click on the
select
element. The problem is that after close PickerView (or whatever this
is) the scrollbar of webview changes its position (not scrollbar on
website). Select element on website has only numbers.
I don't know anything about WebView on the iPhone, but I suspect the
picker view is a standard way of letting you choose from a <select>
element. On the desktop it would be a popup menu, but there is no
popup menu on the iPhone. Why are you surprised that the picker view
appears? What did you expect to see when you tapped the select
element? Didn't you expect there is some way to let you make a
selection?
As for why the web view changes its position, that depends on the web
page. Can you give us the URL of the web page so we can see for
ourselves? What are the options within the select element? Maybe
the
purpose of the select element is to jump to a different location on
the page and it is behaving exactly as designed. Or maybe there is a
bug in WebView that should be reported to Apple. It's impossible to
tell without more information.
--Andy
On Sep 23, 2009, at 5:24 AM, Bartosz Białecki wrote:
Hi,
I'am very new in programming in Cocoa and I have no idea what is
this
pickerview. I don't create any pickerview myself. This pickerview
appears myself when I click a select eleemnt on website. I forgot
(maybe
this is important information), I'm creating application for iPhone.
On 22 Sep 2009, at 01:58, Bartosz Białecki wrote:
Hi,
I have small problem. I have WebView in my application and I open
website where there are some select elements. When I clicked on
select,
then PickerView appears. The problem is, when I click Done button
in
PickerView scrollbar in WebView changes his position. Does anyone
know
what's going on?
What is this PickerView you're referring to? The closest matches I
can
find in the documentation are ABPeoplePickerView and
QCCompositionPickerView, neither of which makes very much sense in
context.
----------------------------------------------------
MODA NA SUKCES - zobacz drzewo bohaterów :)
Kliknij:
http://klik.wp.pl/?adr=http://corto.www.wp.pl/as/drzewo-moda.html&sid=866
----------------------------------------------------
MODA NA SUKCES - zobacz drzewo bohaterów :)
Kliknij:
http://klik.wp.pl/?adr=http://corto.www.wp.pl/as/drzewo-moda.html&sid=866
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
----------------------------------------------------
Dołącz się do Manify!
Wyjdźmy na ulice, w WALCE O TAŃSZE PIWO!
http://klik.wp.pl/?adr=www.zatanisci.pl&sid=856
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden