I am creating an iOS app from a Visual Studio Apache Cordova project and i have built the design and functionality to work fine but i am running into one problem i can't quite figure out because i don't know how to word it properly.
On every screen in my app, i have an image set to 100% 100% that acts as a background to the app and it works fine in simulators and on the android app but when I deploy it on an apple device the iOS environment allows scroll on screens that have no need for it and messes with some of the functionality of the app.
The screen is supposed to stay locked in this state
but instead allows scrolling past the boundaries of the app view like this
How can i fix this app to make the screen stay locked in place with no scrolling abilities outside of the image view?
adding
<preference name="DisallowOverscroll" value="true" />
to the config.xml file fixed this issue
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.