Objective-C 如何解除非我自己创建的 UIAlertView?

How to disminss an UIAlertView which not create by myself via program in Objective-C?

我在 Objective-C 开发,我在我的项目中使用 VLC 库

有时,当VLC Player发生错误时,它会显示UIAlertView,如下图:

但上面的UIAlertView是由VLC库创建和显示的。关闭 UIAlertView 的一种方法是单击 OK button

如何通过程序关闭 UIAlertView

只需转到 VLClibrary.m 并删除以下代码

@"--extraintf=ios_dialog_provider"];

清理代码并重新编译。 你很高兴。

查看此链接了解更多详情:
How to disable VLCMediaPlayer error AlertView?