ios - Stop playing audio in background mode giving error message "terminated app due to signal 9" -


strong textenter image description herei got stuck in problem in project. playing audio when app in background mode using avaudioplayer after 2 mins app terminated ios giving debugger message : "terminated due signal 9". have searched issue , got know if cpu usage high ios kills app "terminated due signal 9". memory usage 12 mb in application while playing audio. not understand how solve problem.please me out!!

update 1 cpu usage around 90% on both foreground , background!! have used time profiler instrument check method consuming more cpu usage, got know main thread , method through updating value of uislider , label audio time!! still not have solution how minimize cpu usage!!!!

update 2 - did mistake, calling timer interval of 0.0 sec!! calling interval of 1 second , problem solved.


Comments

Popular posts from this blog

wireshark - USB mapping with python -

c++ - nodejs socket.io closes connection before upgrading to websocket -

Deploying Qt Application on Android is really slow? -