iOS7 UIWebViewBounce / webviewbounce not working

1,598 views
Skip to first unread message

Dave Cozens

unread,
Sep 25, 2013, 3:21:10 AM9/25/13
to phon...@googlegroups.com
OK, so I'm running PhoneGap 3 and I'm working on my app.

I've got both UIWebViewBounce and webviewbounce set to false in config.xml and yet the app still bounces at the edges. Looks terrible.

Is there something I've missed?

Ta,

D

3radical, 1 Friary, Temple Quay, Bristol BS1 6EA, England.
T: +44 117 344 5008 ¦ F : +44 117 344 5188
www.3radical.com


3radical Limited is a limited company registered in England and Wales under number 7872556.  The registered address of 3radical Limited is 1 Friary, Temple Quay, Bristol BS1 6EA, England.

The information in this e-mail and any attachments may be confidential.  If you are not the intended recipient, please notify the sender as soon as possible and delete any copies. Unauthorised use, dissemination, distribution, publication or copying of this communication is prohibited.

Attachments to this email have been checked with virus detection software before transmission, however you should carry out virus checks before opening any attachment. 3radical Limited accepts no liability for any loss or damage which may be caused by software viruses.

James Everington

unread,
Sep 25, 2013, 3:48:03 AM9/25/13
to phon...@googlegroups.com
I'm having exactly the same issue. I'm also trying to work out how to change the status bar to use white text.

Shazron

unread,
Sep 25, 2013, 5:15:03 AM9/25/13
to phonegap
iOS? There is no UIWebViewBounce setting. Try DisallowOverscroll. http://cordova.apache.org/docs/en/3.0.0/guide_platforms_ios_config.md.html#iOS%20Configuration


--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
 
To compile in the cloud, check out build.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Dave Cozens

unread,
Sep 25, 2013, 5:21:49 AM9/25/13
to phon...@googlegroups.com
Now set that too, but to no avail...

Wondering if it's an iOS7 issue...

D

Andy Fuchs

unread,
Sep 25, 2013, 6:02:06 AM9/25/13
to phon...@googlegroups.com
It doesn't work for me at all on WP8

a.

Dave Cozens

unread,
Sep 25, 2013, 8:41:05 AM9/25/13
to phon...@googlegroups.com
Turns out I had a <doctype> set. This was killing it. works "better" without doctype


On Wednesday, 25 September 2013 10:21:49 UTC+1, Dave Cozens wrote:
Now set that too, but to no avail...

Wondering if it's an iOS7 issue...

D

Shazron

unread,
Sep 25, 2013, 8:01:19 PM9/25/13
to phon...@googlegroups.com
Nah. I set it, it works fine. Try in a new project.

Ian Jamieson

unread,
Dec 18, 2013, 7:05:20 AM12/18/13
to phon...@googlegroups.com
Hi all,

I am using PhoneGap version 3.0.0

I had to do two things to get this working:

Firstly:
I had this set in my index.html
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=medium-dpi" />

Needed to change this to:
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, target-densitydpi=medium-dpi" />

When setting device height, my 100% heights were taking into consideration the status bar.

I then also had to add this line into my config.xml:

<preference name="DisallowOverscroll" value="true" />

Hope this helps,

Ian

Tien Do

unread,
Dec 23, 2013, 11:59:34 PM12/23/13
to phon...@googlegroups.com
Even DisallowOverscroll no longer works on iOS7 with Cordova 3.3.0, I have to use an old fix (scrollTo) again, what I removed when using Cordova 3.1.0

Champion Data

unread,
Feb 6, 2014, 4:37:38 AM2/6/14
to phon...@googlegroups.com
For phonegap 3.3.0 Ian Jamieson's fix below worked for me - finally. Was driving me nuts.


I had to do two things to get this working:

> Firstly:
> I had this set in my index.html
> <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=medium-dpi" />

> Needed to change this to:
> <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, target-densitydpi=medium-dpi" />

> When setting device height, my 100% heights were taking into consideration the status bar.

> I then also had to add this line into my config.xml:

> <preference name="DisallowOverscroll" value="true" />

Reply all
Reply to author
Forward
0 new messages