Skip to main content
Answered

[iOS] Not able present


  • New Participant
  • 4 replies

Not able to present overCurrentContext. Need ModalPresentationStyle Support

 

 
 

Best answer by Jacob Cox

Hi @Jenz !

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?

View original
Did this topic help you find an answer to your question?

4 replies

Eden
Employee
Forum|alt.badge.img
  • Premier Customer Support Engineer
  • 121 replies
  • October 19, 2023

Hey @Jenz 👋 Eden from the support engineer team here.

 

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?


  • Author
  • New Participant
  • 4 replies
  • October 20, 2023

Hi @Eden 
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)

  • Author
  • New Participant
  • 4 replies
  • October 25, 2023

Hi @Eden any update?

 

Jacob Cox
Intercom Team
Forum|alt.badge.img+5
  • Sr. Technical Support Engineer
  • 441 replies
  • Answer
  • November 8, 2023

Hi @Jenz !

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?


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings