objective c - iOS Guided Access: why does my app close overnight? -
i'm writing ios application enterprise deployment. use case is meant run in foreground in kiosk / guided access mode on ipads, , must never ever close long os running (the ipads mounted on wall , plugged power source).
i've set ipad never go lock screen, , i've put in necessary idletimerdisable code. set guided access run app, , off goes.
everything works charm during day. can leave ipad sitting there day app in foreground , behaves expected. time overnight, causes application close , when arrive work in morning, ipad sitting on home screen.
i keep ipad connected mac console open, examining logs , console output doesn't reveal out of ordinary.
i have exception handling , logging code in place, reviewing logs shows no exception being thrown either.
the behavior consistent: can keep app open day without issue, next morning closed. can re-launch app guided access running, , trapped guided access on home screen preventing me re-launching app , have force ipad reboot.
question: ios perform kind of clean overnight cause application exit this, or there other explanation?
if os closing app, how can around that?
pertinent information: i've developed app in xamarin. app continuously polls rest api, via background threads, long app open. also, ipad app on not jailbroken, can jailbreak if need to past issue.
Comments
Post a Comment