Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
17060 Discussions

iOS app : Black background appears when slide down or up

Ozgur_O_
Beginner
1,022 Views

Hi All,

I developed an iOS application for use of iPads only.

When i was testing the app on my iPad , noticed a quirk behaviour.

When i slide down or up the page, a black gap is appearing on top or bottom.

How can i fix this issue?

Thanks.

0 Kudos
1 Solution
PaulF_IntelCorp
Employee
1,022 Views

I think I understand what you are talking about. There is a Cordova option you can set in the intelxdk.config.additions.xml file. If you don't have one of those files in your project, use:

  • Start a New Project
  • Templates
  • Blank
  • HTML5 + Cordova

to create a blank template. In that blank template you'll find an intelxdk.config.additions.xml file that you can copy into your project and then add this line:

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

 

View solution in original post

0 Kudos
5 Replies
Ozgur_O_
Beginner
1,022 Views

anyone? hello? :)

0 Kudos
PaulF_IntelCorp
Employee
1,022 Views

Not familiar with that quirk. Can you provide a simple project that duplicates it? ZIP the entire sample project and attach it to a post.

0 Kudos
Ozgur_O_
Beginner
1,022 Views

I removed some unnecessary files. just sending the login page. you can see the problem there.like refreshing facebook page in the mobile by sliding down...

0 Kudos
PaulF_IntelCorp
Employee
1,023 Views

I think I understand what you are talking about. There is a Cordova option you can set in the intelxdk.config.additions.xml file. If you don't have one of those files in your project, use:

  • Start a New Project
  • Templates
  • Blank
  • HTML5 + Cordova

to create a blank template. In that blank template you'll find an intelxdk.config.additions.xml file that you can copy into your project and then add this line:

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

 

0 Kudos
Ozgur_O_
Beginner
1,022 Views

Yes that was what i exactly needed. Thanks for your help..

0 Kudos
Reply