How to set up the known wifi with my known account/password in the iOS app ?
I want the user open the app and set up wifi background without letting user know. Can we do that with code ? and how if we can ?
If we can not, is there any alternative solution to resolve this problem with best user experience ? thanks
AFAIK, you cannot setup known wifi networks inside your app. What you could do is add the key 'UIRequiresPersistentWiFi' to your app's plist. That will ensure that the system shows a dialog informing the user about the requirement of wifi for the app. If i remember correctly, in case wifi is disabled, the dialog also displays a settings button by default which the user can click and be redirected to the 'Settings' app. HTH.
Related
I'm managing few iOS devices, so I want to create a app to add security feature like collecting the user information from the user like UserID to track which user is currently using the device .
Desired output:
So I want to trigger my app as soon as a user unlock the device and without giving the details the user should not able to access the home screen of the Device.
Is it possible to do it with any framework in iOS without Jailbreak ?
No its not possible. iOS does not allows application to manage device with it self. Application should work in the pre given area which is called Sandbox. So its not possible to handle the entire device and you can not check it that who is using the device.
This is not possible, you should look to Mobile Device Management solutions and rather go that route. You could also look at apple's business solutions.
I would like to hand out iPhones as navigation/information devices to users at an event but users should only be able to see and use the event app and not close it or tamper with phone settings etc.
Is it possible to make an iPhone app not closable by the user and put it into a sort of 'presentation mode'?
Yes its possible by using guid access in your iphone,
Here is image how to set it.
So without your permission user cannot close apps.
Could somebody tell me, how can I find out programatically the state of settings, for example if "Send as SMS" is enabled in Messages application? I know how to programatically open this part of settings but I just want actual value.(I want to find out, if user can send sms or just iMessage to iPhone users)
Thanks a lot!
I have designed an app where the app needs to enable the GPS. There is a page for the user which ask use GPS? To this answer there are 2 options YES and NO. Now my concern is when user clicks on YES he should be directed to settings page and that part is done but now after enabling the GPS from this page the user should redirect to the app again but unfortunately there is no way as there is no back button in the setting page.. Please suggest what I can do in this regards?
As far as I know, the only way to open your app (aside from user tap your app or a related notification) is to do some custom url handling. but unfortunately you can't do such a thing. The other thing you can try is to:
Setup a background thread when your app goes to background
check for location service availability
if it changed to your desired value, open a custom url which in turn will open your app (you should register for hat particular url in your info.plist and such)
but There are some things to keep in mind:
Such Behavior will almost surely get your app rejected by Apple.
in iOS 9+ Apple added a new feature that will help you in this particular problem. when an app gets opened from another app (settings.app for you here) it will add a Back to xxxx in place for network indicator to help user get back were he was.
So, IMHO leave the user experience be as it is for all other applications and don't worry about how he would get back to your app.
I am developing a business app for use on an iPad/iPod Touch. I am wondering if there is a way to restrict usage on the device to my app only. In other words, we don't want employees installing other apps such as games and playing around with the devices.
Yes, that's possible.
Check out the iOS Configuration Profile Programming Guide.
Edit: See the section about restrictions, it will allow you to do exactly what you need. Note however that you'll need to have access to those devices, ideally the devices should be company property. And you need to distribute your app via Enterprise Distribution.
Edit 2: Since iOS6, this feature is available through the normal settings app. It is called "Guided Access" and is part of the Accessibility settings. It will let you disable the home button (cancel guided access by triple-clicking the home button and enter the preset code) and it will even let you define areas within apps which should be disabled.
I don't think so, unless their device is jailbroken.
If they're logged into an Exchange server you could remote-wipe their phone if they install anything.
Do you provide the devices? Or they bring their own?
If you provide the devices that would mean you can use your Apple-id. If an employee would try to download any other app he would need the password of your Apple-id. So thats a simple way to prevent that.
Im am not sure if there is a total "lock" of such type.