Customize or disable alertview

iOS, iPad, iPhone, tvOS specific usage questions
jonathan.hu
New Cone
New Cone
Posts: 8
Joined: 18 Mar 2015 03:52

Customize or disable alertview

Postby jonathan.hu » 11 Sep 2015 09:46

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

jonathan.hu
New Cone
New Cone
Posts: 8
Joined: 18 Mar 2015 03:52

Re: Customize or disable alertview

Postby jonathan.hu » 11 Sep 2015 11:52

I found the "--no-interact" option, and I add it , it works !
Is it correct way ?

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: Customize or disable alertview

Postby fkuehne » 11 Sep 2015 19:04

Yes, that's one option. Alternatively, remove the line about iOS Dialog Provider from VLCLibrary.m.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

jonathan.hu
New Cone
New Cone
Posts: 8
Joined: 18 Mar 2015 03:52

Re: Customize or disable alertview

Postby jonathan.hu » 14 Sep 2015 04:31

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.


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 15 guests