Not able to present overCurrentContext. Need ModalPresentationStyle Support
Not able to present overCurrentContext. Need ModalPresentationStyle Support
Hey
In order to present content and Messenger spaces using the iOS SDK, you can use the different present methods shown in our documentation here. If you were looking for something else, can you give more details about the issue you had here?
Hi
I am referring to different modalPresentationStyle (fullScreen, overCurrentContext, popover..) available in UIViewController. Is there anyway to present Intercom screens with UIModalPresentationStyle?
I presented Intercom help center using below code.
Intercom.present(.helpCenter)
As you can see here it presented as separate window. I want to present inside the app itself(overCurrentContext)
Eg: I tried below method but getting error.
let vc = Intercom()
vc.modalTransitionStyle = .coverVertical
vc.modalPresentationStyle = .overCurrentContext
present(vc, animated: true)
Hi
Hi
Sorry for the delayed response here!
As built, the SDK will always open up a separate screen like that. Any customizations would be up to your team to implement. That said, I’m happy to write up a Feature Request for our Product Team so they know there’s some customer interest in that behavior. Can you provide more context around why you want it to open within your app’s screen instead of popping up in a separate screen?
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.