Skip to content

Commit 4d407df

Browse files
authored
Added note about SwiftUI requirements for iOS MAM SDK
If UIScenes are enabled, it is required that a UISceneDelegate is implemented. By default, SwiftUI apps have UIScenes enabled but no UISceneDelegate. As a result, setting up a SwiftUI app has this additional step.
1 parent 9bd3226 commit 4d407df

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

memdocs/intune/developer/app-sdk-ios.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -976,6 +976,10 @@ Because web view E contains links that the user might click on and could use to
976976

977977
Implementing and calling these APIs means that managed user or organizational content can't leak to web views A, B, and C. It also means that managed content can't leak to any external URLs that the user might navigate to in E by clicking on links within documents. Managed content will also be protected by preventing the data from web views D and E from leaking outside the app.
978978

979+
## SwiftUI Support
980+
981+
A newly created SwiftUI app supports UIScenes but does not have a UISceneDelegate implemented by default. If your app intends to support UIScenes and use the Intune App SDK, then it is required to implement a UISceneDelegate. If it does not intend to support UIScenes, the `UIApplicationSceneManifest` (also named "Application Scene Manifest") setting in the app's Info.plist must be removed.
982+
979983

980984
## iOS best practices
981985

0 commit comments

Comments
 (0)