DMDeveloperMenu
final class DMDeveloperMenu
If enabled, the developer can be revealed by tripple-tapping anywhere within the presentingViewController
.
-
init(presentingViewController:
client: store: exposureManager: developerStore: exposureSubmissionService: serverEnvironment: ) Parameters:
Declaration
Swift
init( presentingViewController: UIViewController, client: Client, store: Store, exposureManager: ExposureManager, developerStore: DMStore, exposureSubmissionService: ExposureSubmissionService, serverEnvironment: ServerEnvironment )
-
Enables the developer menu if it is currently allowed to do so.
Whether or not the developer menu is allowed is determined at build time by looking at the active build configuration. It is only allowed for
RELEASE
andDEBUG
builds. Builds that target the app store (configurationAPP_STORE
) are built without support for a developer menu.Declaration
Swift
func enableIfAllowed()
-
Undocumented
Declaration
Swift
func showDeveloperMenu()