html - Can I run different versions of my website based on detection of mode -
I want to create a website. This website will behave differently if I see it on a specific event through a kiosk. Kiosk will be just an iPad. I believe that I can understand how to lock IOP to work like a kiosk and my website is based on it
But what I am asking is in the code, Is there a way to find out that I am in 'kiosk' mode and show different pages? For example, if you are at home (or anywhere that is not an event) you should be able to hit my website to know about your company and to view your current profile. You should be able to see this same page on the 'Kiosk' (an iPad in an event), but you can now see additional pages like specific pages related to event and payment pages. On the contrary, you can see additional pages on the website, while you will not be able to see in 'kiosk' mode.
I do not know that the solution device / language is dependent as we have not yet settled on all the devices / languages / frameworks, we will use the site to build and therefore I open to all Yes, but of course we will have some javascript / css / html.
I believe that you will know whether you have 'guided access' alias' Whether you are in Kiosk mode or not, you will need to type the original app.
NSLog (@ "Accessibility enabled:% @", UISBILITIES guided accessed (?)? @ "Yes": @ "no") ; If you want to know when it changes ... Pre> [[NSNotificationCenter defaultCenter] addObserver: Self selector: @selector (changed direct access) Name: UIAccessibilityGuidedAccessStatusDidChangeNotification object: zero]; If you want to work with a website then what you can do is write a native app that embeds one. This class allows you to show the website within the native app, so what you can do with this method, is with the Direct Access setting on your website so that it can adjust itself.
Comments
Post a Comment