Posts

Post not yet marked as solved
0 Replies
560 Views
Bluetooth turn off from control center does not really close. But I try to use "CoreBluetooth Framework" check the state. When I turn off from the control center, the state still show "CBManagerStatePoweredOff". Is it the bug? how can I distinguish between the turn off from control center and turn off from setting page. I am use "CBCentralManagerDelegate":(void) centralManagerDidUpdateState:(CBCentralManager *)central{ switch (central.state) {         case CBManagerStateUnknown:             break;         case CBManagerStateResetting:             break;         case CBManagerStateUnsupported:             break;         case CBManagerStateUnauthorized: break;         case CBManagerStatePoweredOff:             break;         case CBManagerStatePoweredOn:             break;         default:             break;     } }
Posted
by dickfala.
Last updated
.
Post not yet marked as solved
0 Replies
402 Views
How to detect the device supervised in application after manual supervision ?I use the Apple’s software Mobile configurator2, then to do the manual supervise behavior.I develop the app on the supervised device. I want to known the device is supervised or not in the app.1.How to detect the device supervised in application code after manual supervision ?2.how to get the device organization name?I find some information on Mobile Device Management Protocol Reference(page37,IsSupervised key),but this reference is for auto supervision(had connection mdm server) ,my situation is on manual supervision(not connection mdm server).So have possible known the device is supervised or not in my develop app?and how to get the organization name in app?Thank you very much.
Posted
by dickfala.
Last updated
.
Post marked as solved
1 Replies
431 Views
Hi everyone,I have some question,Have possible the app in the background execution and detect the user turn on or not about the location service, hotspot,bluetooth and camera?We have not use the Apple MDM solution.But my company need our to create the app to detect the four function turn on or not.We need detect the user turn on the location service, hotspot , bluetooth and camera, the app will record the time in app database.But we encounter some problem,We can't remain the app all the day in the background execution to detect.The user can force to clean the iphone memory( click long time the power button , then click the home button long time to back apps scrren ) to kill the all the app in the background task.When the user clean the background task app and restart the device, the app can't resume to start detect the user turn on the function or not.Is the general ios app permission have possible to achieve the functions?thank you very much.
Posted
by dickfala.
Last updated
.