Difference between revisions of "BKSProcessAssertion"

From iPhone Development Wiki
Jump to: navigation, search
m (Methods: typo.)
(Apple moved this class in iOS 8 to a new private framework.)
Line 1: Line 1:
 
''This article is a stub; please help expand it.''
 
''This article is a stub; please help expand it.''
  
'''BKSProcessAssertion''' is a class in [[BackBoardServices.framework]]. As described [http://blog.adambell.ca/post/73338421921/breaking-chat-heads-out-of-the-ios-sandbox by Adam Bell], "This class allows you to give a certain application permissions to stay alive and not be killed by watchdog."
+
'''BKSProcessAssertion''' is a class introduced in iOS 6, implemented in [[BackBoardServices.framework]] (before iOS 8) or [[AssertionServices.framework]] (iOS 8). As described [http://blog.adambell.ca/post/73338421921/breaking-chat-heads-out-of-the-ios-sandbox by Adam Bell], "This class allows you to give a certain application permissions to stay alive and not be killed by watchdog."
  
 
== Methods ==
 
== Methods ==

Revision as of 11:02, 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