Disable UiAlertView notifications

iOS, iPad, iPhone, tvOS specific usage questions
m3night
New Cone
New Cone
Posts: 6
Joined: 13 Apr 2014 21:23

Disable UiAlertView notifications

Postby m3night » 13 Apr 2014 21:33

Hi,

I want to disable UiAlertView notifications in ios application for example when playing failed.
How can i do that in code ?

thanks

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

Re: Disable UiAlertView notifications

Postby fkuehne » 15 Apr 2014 15:11

Remove "ios_dialog_provider" from the extra-intf list in VLCLibrary.m within VLCKit.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

m3night
New Cone
New Cone
Posts: 6
Joined: 13 Apr 2014 21:23

Re: Disable UiAlertView notifications

Postby m3night » 16 Apr 2014 14:54

i have added this option to VLCMediaPlayer and notifications gone

_mediaplayer = [[VLCMediaPlayer alloc] initWithOptions:@[[NSString stringWithFormat:@"--%@=%@",@"extraintf",@""]]];

really thanks, it helped me alot


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

Who is online

Users browsing this forum: No registered users and 21 guests