Reputation: 25968
Volume UI should not appear during use of volume slider of the application.
Upvotes: 2
Views: 365
Reputation: 25968
I am not saying this is the perfect solution but somehow with this tricks, my problem has fled away:
MPVolumeView *volumeView = [[MPVolumeView alloc] initWithFrame: CGRectMake(0, -100, 0, 0)];
[self.view addSubview: volumeView];
I have implemented above code in viewWillAppear and problem resolved. With above code you can also customise your volume controller frame.
Upvotes: 2