Turn off console logging for specific objects

后端 未结 3 974
执笔经年
执笔经年 2020-12-31 09:49

It\'s some kind of annoying: Since I started using the MPMoviePlayerController the console is overfilled with information from MPAVController. Eg:

[MPAVCon         


        
3条回答
  •  孤独总比滥情好
    2020-12-31 10:24

    Another option, if you can use it, is to run either a simulator or a device running iOS < 6.0.

    The MPAVController log messages do not appear for me when using a 5.0 device or the 5.1 Simulator. But they definitely appear in the 6.0 Simulator.

    Of course one should generally use the current OS, but if one is working on a video heavy section of a project, running an earlier simulator or device while working on that particular set of tasks is a way to alleviate this logging headache.

    This also provides some backward compatibility testing as a bonus.

提交回复
热议问题