开发者

How to control the crashing of my app when i switch between tabs

I have created a music application in iphone . The App crashes if i keep on 开发者_开发技巧switching between the tabs while the song is playing. How can i solve this problem .Please anybody help me regarding this problem


Generally such kind of issues are memory related.......just check whether ur releasing the objects at proper place or not..

Other u can put some code snippet to have a look so that we can know actually what's happening with your code..


A common cause for crashes when something repetitive happens (eg switching between tabs, screens etc) is memory problems. Make sure you are releasing the correct objects in the right place. It could very well be that every switch you are allocating objects - without freeing them when switching again. This will eventually consume your memory and crash the application.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜