ios - Application idle Timer disable not working -


application idle timer disable not working after record video application. put below code in application did finish launching. please suggest me if 1 have idea handle idle timer.

[[uiapplication sharedapplication] setidletimerdisabled: yes]; 

in past there have been bugs in ios, in forgets have set idletimerdisabled, example after have used uiimagepickercontroller take picture. not sure whether apple has fixed bugs yet.

a work-around set more often, example in viewwillappear of main view.


Comments