mirror of
https://github.com/DKJone/DKWechatHelper.git
synced 2026-07-29 06:12:07 +08:00
添加callKit
添加启用callKit功能
This commit is contained in:
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;
|
||||
|
||||
Reference in New Issue
Block a user