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

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -