Page 1 of 1

Customize or disable alertview

Posted: 11 Sep 2015 09:46
by jonathan.hu
Hello,

I used MobileVLCKit to play a webcam video stream in my app.

If the url is not correct , the VLCMediaPlayer will popup an AlertView.

I'm just wondering that is any way to customize the AlertView , or just disable it ?

I had found the source code, but I found nothing about the AlertView.

In my app, I want to make the VLCMediaPlayer auto retry connection,

but the alertView will continue popup.

Any solution is appreciated, thanks

Re: Customize or disable alertview

Posted: 11 Sep 2015 11:52
by jonathan.hu
I found the "--no-interact" option, and I add it , it works !
Is it correct way ?

Re: Customize or disable alertview

Posted: 11 Sep 2015 19:04
by fkuehne
Yes, that's one option. Alternatively, remove the line about iOS Dialog Provider from VLCLibrary.m.

Re: Customize or disable alertview

Posted: 14 Sep 2015 04:31
by jonathan.hu
Yes, that's one option. Alternatively, remove the line about iOS Dialog Provider from VLCLibrary.m.
Thanks !
Actually, I try this at first , and it didn't work for me.