Skip to content

Example project for how to open an app to a particular screen or feature from a Control Center widget on iOS 18

Notifications You must be signed in to change notification settings

tomhamming/ControlCenterOpenApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Opening an app from a Control Center widget

This is a sample app demonstrating how to open an app from a Control Center widget bundled with that app, based on help kindly provided by Brian Mueller here. Important notes:

  • The file that contains the control widget has to be included in both the main app target and the extension target (see this thread).
  • The point of the URL is only to launch the app. The actual mechanism for communicating to the app what screen to open is, in this example, UserDefaults.

About

Example project for how to open an app to a particular screen or feature from a Control Center widget on iOS 18

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages