(Apple moved this class in iOS 8 to a new private framework.) |
(→References: forgot to fix dead link.) |
||
Line 103: | Line 103: | ||
== References == | == References == | ||
* [http://blog.adambell.ca/post/73338421921/breaking-chat-heads-out-of-the-ios-sandbox Breaking Chat Heads out of the iOS Sandbox] by Adam Bell | * [http://blog.adambell.ca/post/73338421921/breaking-chat-heads-out-of-the-ios-sandbox Breaking Chat Heads out of the iOS Sandbox] by Adam Bell | ||
* iOS | * 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 | |||
{{occlass|library=BackBoardServices.framework|navbox=on}} | {{occlass|library=BackBoardServices.framework|navbox=on}} |
Revision as of 11:05, 29 September 2014
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
- 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
|