I am trying to present the “Get the full app” banner in the App Clip, the code was working fine, but after updating to Xcode 12.1 doesn't happen anything!. Did Apple change anything?
@objc func displayOverlay() {
guard let scene = view.window?.windowScene else { return }
let config = SKOverlay.AppConfiguration(appIdentifier: "TREXAC", position: .bottom)
let overlay = SKOverlay(configuration: config)
overlay.present(in: scene)
print("heey banner")
}
any help would be appreciated.
You should be using
AppClipConfiguration
instead ofAppConfiguration