BKSProcessAssertion

From iPhone Development Wiki
Revision as of 11:02, 29 September 2014 by PoomSmart (talk | contribs) (Apple moved this class in iOS 8 to a new private framework.)
Jump to: navigation, search

This article is a stub; please help expand it.

BKSProcessAssertion is a class introduced in iOS 6, implemented in BackBoardServices.framework (before iOS 8) or AssertionServices.framework (iOS 8). As described by Adam Bell, "This class allows you to give a certain application permissions to stay alive and not be killed by watchdog."

Methods

Signature +(NSString*)NameForReason:(NSUInteger)reason;
Available in 6.0–
Reason Result
0 @"none"
1 @"audio"
2 @"location"
3 @"external-accessory"
4 @"finishTask"
5 @"bluetooth"
6 @"networkAuthentication"
7 @"backgroundUI"
8 @"interAppAudioStreaming"
9 @"viewServices"
10 @"newsstandDownload"
11 @"backgroundDownload"
Other (12+) @"Unknown"
10000 @"activation"
10001 @"suspend"
10002 @"transientWakeup"
10003 @"voip"
10004 @"finishTaskUnbounded"
10005 @"continuous"
10006 @"backgroundContentFetching"
Other (10006+) @"Unknown"

References