Trying to place UADefaultMessageCenterListViewController in own UINavigationController

Our app is implemented using SwiftUI and a UINavigationController. 
The Inbox implementation from Airship uses a UISplitViewController, which cannot be pushed to a UINavigationController. 
error: "Split View Controllers cannot be pushed to a Navigation Controller"

So I thought: no problem, just subclass the UADefaultMessageCenterListViewController directly and use that. 

However, no messages ever show up. I see the messages being handled by Airship, but the "UAMessageCenterDisplayDelegate" delegate messages are never called.

I set the delegate like this:

UAMessageCenter.shared().displayDelegate = self

Is there another way to implement the Inbox which I am not aware of?

Didn't find what you were looking for?

New post

Comments

1 comment

Please sign in to leave a comment.