Detect when App is Slide Over on top of running app on iPad
up vote
5
down vote
favorite
We have a WebRTC Swift 4.2 application using Google's native WebRTC code. We are having issues with Apple's App Slide Over Multitasking feature on iPads.
Issue:
What we are seeing is when our Application is running in a video call on an iPad as soon as another app is 'Slide Over' our app, our application stops using the video camera and microphone until the Slide Over app is closed. Once closed our application gets the microphone and camera back.
Expected Result:
Our application is still able to use the camera and microphone and the user is able to use both apps at the same time.
Questions:
Is there a setting we need to turn on to disallow Slide Over apps? If not is there a event we can subscribe to when the slide over happens so we can request camera and microphone access again?
What we have done:
- We have set our application to require full screen in the project settings.
- We have tried subscribing to the following events on the AppDelegate:
applicationDidEnterBackground, applicationWillResignActive, applicationDidBecomeActive. These events do fire once for the initial Slide over app open and close but not after consecutive Slide Overs with same app. - Turning on all Background mode capabilities. Has no effect.
- On our ViewController.swift we have tried to subscribe to viewWillLayoutSubviews event. This event does not fire for apps opened with Slide Over.
Versions:
- iOS 11.4.1
- Swift 4.2
- Xcode 10.1
ios swift ipad camera webrtc
add a comment |
up vote
5
down vote
favorite
We have a WebRTC Swift 4.2 application using Google's native WebRTC code. We are having issues with Apple's App Slide Over Multitasking feature on iPads.
Issue:
What we are seeing is when our Application is running in a video call on an iPad as soon as another app is 'Slide Over' our app, our application stops using the video camera and microphone until the Slide Over app is closed. Once closed our application gets the microphone and camera back.
Expected Result:
Our application is still able to use the camera and microphone and the user is able to use both apps at the same time.
Questions:
Is there a setting we need to turn on to disallow Slide Over apps? If not is there a event we can subscribe to when the slide over happens so we can request camera and microphone access again?
What we have done:
- We have set our application to require full screen in the project settings.
- We have tried subscribing to the following events on the AppDelegate:
applicationDidEnterBackground, applicationWillResignActive, applicationDidBecomeActive. These events do fire once for the initial Slide over app open and close but not after consecutive Slide Overs with same app. - Turning on all Background mode capabilities. Has no effect.
- On our ViewController.swift we have tried to subscribe to viewWillLayoutSubviews event. This event does not fire for apps opened with Slide Over.
Versions:
- iOS 11.4.1
- Swift 4.2
- Xcode 10.1
ios swift ipad camera webrtc
1
Have you enabled any Background Modes? Particularly the audio or voip ones? (In the project file under the Capabilities tab.)
– Samantha
Nov 5 at 16:59
1
@Samantha We do have the Voice Over IP turned on. We tried turning on a couple other settings in capabilities but are still getting the same result.
– Austin
Nov 5 at 17:11
add a comment |
up vote
5
down vote
favorite
up vote
5
down vote
favorite
We have a WebRTC Swift 4.2 application using Google's native WebRTC code. We are having issues with Apple's App Slide Over Multitasking feature on iPads.
Issue:
What we are seeing is when our Application is running in a video call on an iPad as soon as another app is 'Slide Over' our app, our application stops using the video camera and microphone until the Slide Over app is closed. Once closed our application gets the microphone and camera back.
Expected Result:
Our application is still able to use the camera and microphone and the user is able to use both apps at the same time.
Questions:
Is there a setting we need to turn on to disallow Slide Over apps? If not is there a event we can subscribe to when the slide over happens so we can request camera and microphone access again?
What we have done:
- We have set our application to require full screen in the project settings.
- We have tried subscribing to the following events on the AppDelegate:
applicationDidEnterBackground, applicationWillResignActive, applicationDidBecomeActive. These events do fire once for the initial Slide over app open and close but not after consecutive Slide Overs with same app. - Turning on all Background mode capabilities. Has no effect.
- On our ViewController.swift we have tried to subscribe to viewWillLayoutSubviews event. This event does not fire for apps opened with Slide Over.
Versions:
- iOS 11.4.1
- Swift 4.2
- Xcode 10.1
ios swift ipad camera webrtc
We have a WebRTC Swift 4.2 application using Google's native WebRTC code. We are having issues with Apple's App Slide Over Multitasking feature on iPads.
Issue:
What we are seeing is when our Application is running in a video call on an iPad as soon as another app is 'Slide Over' our app, our application stops using the video camera and microphone until the Slide Over app is closed. Once closed our application gets the microphone and camera back.
Expected Result:
Our application is still able to use the camera and microphone and the user is able to use both apps at the same time.
Questions:
Is there a setting we need to turn on to disallow Slide Over apps? If not is there a event we can subscribe to when the slide over happens so we can request camera and microphone access again?
What we have done:
- We have set our application to require full screen in the project settings.
- We have tried subscribing to the following events on the AppDelegate:
applicationDidEnterBackground, applicationWillResignActive, applicationDidBecomeActive. These events do fire once for the initial Slide over app open and close but not after consecutive Slide Overs with same app. - Turning on all Background mode capabilities. Has no effect.
- On our ViewController.swift we have tried to subscribe to viewWillLayoutSubviews event. This event does not fire for apps opened with Slide Over.
Versions:
- iOS 11.4.1
- Swift 4.2
- Xcode 10.1
ios swift ipad camera webrtc
ios swift ipad camera webrtc
edited Nov 5 at 17:54
asked Nov 5 at 16:47
Austin
13617
13617
1
Have you enabled any Background Modes? Particularly the audio or voip ones? (In the project file under the Capabilities tab.)
– Samantha
Nov 5 at 16:59
1
@Samantha We do have the Voice Over IP turned on. We tried turning on a couple other settings in capabilities but are still getting the same result.
– Austin
Nov 5 at 17:11
add a comment |
1
Have you enabled any Background Modes? Particularly the audio or voip ones? (In the project file under the Capabilities tab.)
– Samantha
Nov 5 at 16:59
1
@Samantha We do have the Voice Over IP turned on. We tried turning on a couple other settings in capabilities but are still getting the same result.
– Austin
Nov 5 at 17:11
1
1
Have you enabled any Background Modes? Particularly the audio or voip ones? (In the project file under the Capabilities tab.)
– Samantha
Nov 5 at 16:59
Have you enabled any Background Modes? Particularly the audio or voip ones? (In the project file under the Capabilities tab.)
– Samantha
Nov 5 at 16:59
1
1
@Samantha We do have the Voice Over IP turned on. We tried turning on a couple other settings in capabilities but are still getting the same result.
– Austin
Nov 5 at 17:11
@Samantha We do have the Voice Over IP turned on. We tried turning on a couple other settings in capabilities but are still getting the same result.
– Austin
Nov 5 at 17:11
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53158695%2fdetect-when-app-is-slide-over-on-top-of-running-app-on-ipad%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
Have you enabled any Background Modes? Particularly the audio or voip ones? (In the project file under the Capabilities tab.)
– Samantha
Nov 5 at 16:59
1
@Samantha We do have the Voice Over IP turned on. We tried turning on a couple other settings in capabilities but are still getting the same result.
– Austin
Nov 5 at 17:11