HBRespringController Class Reference

Inherits from NSObject
Declared in HBRespringController.h

Overview

The HBRespringController class in Cephei provides conveniences for restarting SpringBoard. It also ensures battery usage statistics are not lost when performing the restart.

In order for HBRespringController to work on iOS versions before 8.0, at least one tweak must link against Cephei.framework in order for its respring action listener to be registered.

+ respring

Restart SpringBoard.

+ (void)respring

Discussion

On iOS 8.0 and newer, fades out and then returns to the home screen (system remains unlocked). On older iOS versions, a standard restart occurs.

Declared In

HBRespringController.h

+ respringAndReturnTo:

Restart SpringBoard and immediately launch a URL.

+ (void)respringAndReturnTo:(nullable NSURL *)returnURL

Parameters

returnURL

The URL to launch after restarting.

Discussion

Requires iOS 8.0 or newer. On older iOS versions, a standard restart occurs.

Declared In

HBRespringController.h