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 | Availability | |
---|---|---|---|
iOS 6.x | iOS 7.x | ||
0 | @"none" | Yes | |
1 | @"audio" | Yes | |
2 | @"location" | Yes | |
3 | @"external-accessory" | Yes | |
4 | @"finishTask" | Yes | |
5 | @"bluetooth" | Yes | |
6 | @"networkAuthentication" | Yes | |
7 | @"backgroundUI" | Yes | |
8 | @"interAppAudioStreaming" | Yes | |
9 | @"viewServices" | Yes | |
10 | @"newsstandDownload" | Yes | |
11 | @"backgroundDownload" | Yes | |
Other (12-9999) | @"Unknown" | Yes | |
10000 | @"activation" | Yes | |
10001 | @"suspend" | Yes | |
10002 | @"transientWakeup" | Yes | |
10003 | @"voip" | Yes | |
10004 | @"finishTaskUnbounded" | Yes | |
10005 | @"continuous" | Yes | |
10006 | @"backgroundContentFetching" | Yes | |
Other (10006-49999) | @"Unknown" | Yes | |
50000 | @"finishTaskAfterBackgroundContentFetching" | No | Yes |
50001 | @"finishTaskAfterBackgroundDownload" | No | Yes |
50002 | @"finishTaskAfterPeriodicTask" | No | Yes |
Other (50003+) | @"Unknown" | Yes |
References
- Breaking Chat Heads out of the iOS Sandbox by Adam Bell
- Header (before iOS 8): https://github.com/mattlawer/iOS6-Private-Frameworks/blob/master/BackBoardServices/BKSProcessAssertion.h
- Header (iOS 8): https://github.com/nst/iOS-Runtime-Headers/blob/master/PrivateFrameworks/AssertionServices.framework/BKSProcessAssertion.h
|