I am having problem with the supply code handed over by my colleague. That is an IOS webview utility, utilizing Kivy and the IOSWebiew class, every little thing appears to work nice, however there may be an “X” showing on the highest left nook (it seems on all ios units), find out how to conceal it, i actually recognize your assist.
essential.py
from kivy.app import App
from kivy.core.window import Window
import ios
Window.borderless = False
Window.fullscreen = False
class WebApp(App):
def construct(self):
url = b"https://mywebapp.xyz/"
self.peak = 100
if Window.width >= 2048:
ios.IOSWebView().open(url, 0, 0 , 1030, 1360)
elif Window.width >= 1668:
ios.IOSWebView().open(url, -5, 0 , 850, 1160)
elif Window.width >= 1640:
ios.IOSWebView().open(url, -5, 0 , 835, 1160)
elif Window.width >= 1620:
ios.IOSWebView().open(url, 0, 0 , 800, 1050)
elif Window.width >= 1488:
ios.IOSWebView().open(url, -3, 0 , 750, 1100)
elif Window.width >= 1290:
ios.IOSWebView().open(url, -5, 0, 440, 880)
elif Window.width >= 1284:
ios.IOSWebView().open(url, -5, 0 , 440, 880)
elif Window.width >= 1179:
ios.IOSWebView().open(url, 0, 0 , 400, 830)
elif Window.width >= 1170:
ios.IOSWebView().open(url, 0, 0 , 393, 830)
elif Window.width >= 1125:
ios.IOSWebView().open(url, 0, 0 , 375, 810)
elif Window.width >= 1080:
ios.IOSWebView().open(url, 0, 0 , 380, 780)
elif Window.width >= 828:
ios.IOSWebView().open(url, 0, 0, 415, 810)
elif Window.width >= 750:
ios.IOSWebView().open(url, 0, -45 , 380, 830)
else:
ios.IOSWebView().open(url, 0, 0 , 380, 830)
if __name__ == "__main__":
WebApp().run()