SkillAgentSearch skills...

CustomControlCenterModules

Custom iOS 11 Control Center Modules

Install / Use

/learn @hamzasood/CustomControlCenterModules
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

CustomControlCenterModules

https://twitter.com/hamzasood/status/874365037913178117

The new control centre in iOS 11 is extendable by addition of modules. This project contains a few example modules.

A module is a loadable bundle with a principal class that conforms to CCUIContentModule. Modules have to placed in /System/Library/ControlCenter/Bundles in order to be discovered. However a module will be ignored unless it has been whitelisted by adding its bundle identifier to /System/Library/PrivateFrameworks/ControlCenterServices.framework/ModuleWhitelist.plist.

Modules should favour UI elements in ControlCenterUIKit as opposed to UIKit so that they'll better match the control centre theme.

Note that modules all get loaded into the same process. So class names should be such that the chance of a collision is minimal.

View on GitHub
GitHub Stars110
CategoryDevelopment
Updated2y ago
Forks3

Languages

Objective-C

Security Score

65/100

Audited on Dec 10, 2023

No findings