添加callKit

添加启用callKit功能
This commit is contained in:
朱德坤
2020-07-03 12:49:11 +08:00
parent 8556f6761a
commit d8ccfebd50
7 changed files with 52 additions and 9 deletions
File diff suppressed because one or more lines are too long
@@ -339,6 +339,18 @@
%end
// Enable CallKit
%hook VoipCXMgr
+ (BOOL)isCallkitAvailable{
return DKHelperConfig.enableCallKit;
}
+ (BOOL)isDeviceCallkitAvailable{
return DKHelperConfig.enableCallKit;
}
%end
%hook UIViewController
- (void)viewWillAppear:(BOOL)animated{
%orig;