objective c - CLLocationManager Overheating iPhone -
i'm making app augmented reality.
have screen image camera, radar view , markers on screen.
i'm using cllocationmanager updates on heading , location.
need heading updates turned on, because radar rotation depends on it. i'm using location updates position , based on i'm looking markers show.
problem when i've got both turned on iphone overheating little on time (10 +- minutes). i've got accuracy set every 100 metres , distance filter 100.
should set timer stop , start updating of location prevent overheating (and save battery life too)? there other approach this?
advices.
this time user "time profiler" instrument. i'm sure using gps responsible of heat have other part of code using cpu or gpu heavily.
there's opengl performance tool, @ see if can find parts taxing gpu much.
another possibility using avfoundation camera image, , see if can specify less expensive preview parameters video image overlaying.
Comments
Post a Comment