Skip to content

Commit

Permalink
Update Examples.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlokhorst authored Sep 19, 2024
1 parent 0093949 commit 44f60ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/Examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ Values under `UIApplicationShortcutItems`, `UIApplicationSceneManifest`, `NSUser

*With R.swift*

Access the values in the entitlement file you embedded. This might differ from the entitlements your app actually has at runtime! But it's greate to get some identifiers in a consistent way.
Access the values in the Info.plist file.

```swift
let sceneConfiguration = UISceneConfiguration(name: R.info.uiApplicationSceneManifest.uiSceneConfigurations.uiWindowSceneSessionRoleApplication.defaultConfiguration.uiSceneConfigurationName, sessionRole: .windowApplication)
let activity = NSUserActivity(activityType: R.info.nsUserActivityTypes.planTripIntent)
```

0 comments on commit 44f60ad

Please sign in to comment.