Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

prevent header from scrolling

Hello Cody!

Is your app shared with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a? What is app name?

Cody Blue
Posts: 0
Joined: Sun Aug 25, 2013 2:11 am

prevent header from scrolling

Hi Maryna,

Yes it is. Its RanzoV20.

Regards.

Cody Blue
Posts: 0
Joined: Sun Aug 25, 2013 2:11 am

prevent header from scrolling

Have you been able to access the app? What is the timeline in which we can expect feedback for planning purposes?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

prevent header from scrolling

Hello Cody,

I've just checked, and RanzoV20 isn't shared with us. Could you please check it once again?

Cody Blue
Posts: 0
Joined: Sun Aug 25, 2013 2:11 am

prevent header from scrolling

It is (please see screenshot - it has been shared for nearly an year now and your team has been logging in on a periodic basis).

Image

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

prevent header from scrolling

Cody,

Oh, sorry my bad. Yes it is shared and our developers are already working on it.

Cody Blue
Posts: 0
Joined: Sun Aug 25, 2013 2:11 am

prevent header from scrolling

Thank you.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

prevent header from scrolling

Hello!

On Source tab open ios/projectName/Classes open MainViewController.m file and replace existing viewDidLoad method with the following:

pre(void)viewDidLoad
{
[super viewDidLoad];
[self registerCustomURLProtocol];
[self allowBackgroundAudioPlay];
self.initializeCompleted = YES;
self.webView.dataDetectorTypes = UIDataDetectorTypeNone;
self.webView.scrollView.bounces = NO;
if(nil != self.delayedRequest)
{ [self.webView loadRequest:self.delayedRequest]; self.delayedRequest = nil; }
}/pre

Tested with your app and it worked for me (iPhone 6, iOS 8.1.1)

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

prevent header from scrolling

Another way is to change DisallowOverscroll value on config.xml file:
pre<preference name="DisallowOverscroll" value="true" />/pre
Didn't test this way

Cody Blue
Posts: 0
Joined: Sun Aug 25, 2013 2:11 am

prevent header from scrolling

Thank you, Maryna.

I got the attached alert on editing source code, and the language is a bit confusing: I am not sure if I understand all the implications this bears. Is there more documentation/explanation on it?

Image

Return to “Issues”