Is possible to lock screen in browser on mobile devices? - jquery-mobile

At the moment i am developing a small web application which is based on swipe and for example when i swipe it to right on my iPad or iPod the screen also goes to right. Is it possible somehow to lock screen?

You could download the jquery Dialog plug-in, http://jqueryui.com/dialog/ and set a condition for it to pop up, and also a message stating that the screen is currently locked. This is probably one of the cleanest ways of controlling your screen in regards to users proceeding or staying.

Related

How can I use ARKit while using Slide Over/Split Screen on iPadOS?

I have an app that uses ARKit to detect faces and send over the network the coordinates of interest, which works well. I would like this app to run in background, still sending the data over the network, while I would be using another app (almost) fullscreen.
The option 'Enable multiple windows' is activated in info.plist, but as soon as I launch my other app, the ARKit app stops sending information (the app actually probably stops).
Is there a simple way to do this, and at least is this feasible? Thanks!
This is not possible at this point. Camera and AR stuff is disabled at a system level in apps when they are displayed in Slide Over or Split View.
I'd recommend displaying a warning message when Slide Over/Split Screen is being used saying that you should use the app in full screen mode. See this answer under a different question for details.

iOS Request permission dialog not showing on screen recording or quicktime video

Does anyone know when the App Store started requiring the app previews to be on a physical device and show this pop-up?
Even when I mirror my iPhone Xs to my Mac, the pop-up does not show. If no pop-up on video, app store rejects app preview.
Anyone know of a better way to get around this issue?
Another image that shows issue:
This pop-up NEVER shows on screen recording or mirroring....
We have same problem. You have two options:
You can record the screen from another mobile or camera
You can use a previous iOS. We have checked that permission dialog can be screen recorded with iOS12
What was your solution?
Yes,  has been steadily, over the past 3'ish years or so, working on removing certain system sensitive controls from being displayed in that feed. My guess it's for $SEKURITY reasons, though it doesn't completely make sense, to me, what would be the attack vector that it attempts to prevent.
The location dialog is not the only case I know that it hides. It originally started with them hiding even *** in the password text fields, and hiding the keyboard in such input, as well. Apparently it now expanded to location, and likely other system dialogs. 🤷‍♂️
Surprisingly few people seem to be discussing this.
I published an app last year (2021 / June) on 14.? which required the popup and it was accepted. Did this again with another app just after 15.? and I cannot get it past the apple store. Once they allowed me to post a video recording and I got it through, but since then ... no chance.
How are people getting their app through - I assume apple use the screen capture system to do their testing.
I had the same problem but my app was accepted.
Surely screen recording does not work, but screen capture does. I have embedded a screenshot of the permission dialog into a video and submitted it for app review.

Can I suppress alert "It looks like you are typing while in full screen" over iOS 12 fullscreen mode

We are trying to show video over iOS safari with fullscreen mode (on later iOS 12, if the user enabled fullscreen mode API) and trying to allow the user to tap video screen to show some interactive effect over video (on fullscreen mode).
but when we tap screen several times on fullscreen mode, an alert dialog of "It looks like you are typing while in fullscreen" was shown.
We want to avoid this message in some way.
We will appreciate any help. Thank you in advance.
Only a partial answer, but this was a solution for us:
The warning does not occur when the website is launched from the iOS home screen.
Open the web page in Safari
Tap the Share button
On the bottom row of icons, scroll over until you see Add to Home Screen and tap this.
A new shortcut will be added to the iOS homescreen
Launch from here and this warning message will not bother you
This is only a solution if you're in control of the iPad, or if your users are very compliant! But in our case this was all we needed. Hopefully some others will find the same.

Disable ipad/iphone global gestures using Swift

I am building an app which will be displayed on an iPad. It will be an app for customers in the shop who will be able to leave their contact data. I am going to put an iPad to a frame so they won't be able to press home, lock buttons. Just the screen.
My question is: is there any way to prevent them from closing my app by a gesture? (fingers going closer to each other) or a gesture of switching apps? (3 fingers swipe left/right)
I suppose I can set it in settings, but I really need it to be set in the code.
Does iOS system provides that feature (disabling system gestures programically?)
Thank you

Is it possible to programmatically force an iOS app in split view / slide over to go full screen in ios9?

I'm implementing an app that needs a camera preview using AVCaptureSession. Unfortunately iOS9 will interrupt the AVCaptureSession as soon as Split View or Slide Over is on. The system allows to detect such an interruption (see: https://stackoverflow.com/a/33086527/1896336).
The good thing is that we can warn the user to go Full Screen but I was actually wondering if we could programmatically set the app to go Full Screen when the user taps a "yes take me back to full screen" button ?
No. If you don't like this behavior, don't use iPad Multitasking (opt out by insisting on full screen in the Info.plist).

Resources