From 7a4d625fa286da83b0f5eacc76b3b24ea87259d4 Mon Sep 17 00:00:00 2001 From: Danmei Chen Date: Tue, 25 Feb 2020 10:54:59 +0100 Subject: [PATCH] update functions --- Classes/LinphoneAppDelegate.m | 4 ++-- Classes/SettingsView.m | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Classes/LinphoneAppDelegate.m b/Classes/LinphoneAppDelegate.m index 535c60bd4..4d499f9d3 100644 --- a/Classes/LinphoneAppDelegate.m +++ b/Classes/LinphoneAppDelegate.m @@ -754,7 +754,7 @@ - (void)application:(UIApplication *)application handleActionWithIdentifier:(NSString *)identifier forLocalNotification:(UILocalNotification *)notification - completionHandler:(void (^)())completionHandler { + completionHandler:(void (^)(void))completionHandler { LinphoneCall *call = linphone_core_get_current_call(LC); if (call) { @@ -802,7 +802,7 @@ handleActionWithIdentifier:(NSString *)identifier forLocalNotification:(UILocalNotification *)notification withResponseInfo:(NSDictionary *)responseInfo - completionHandler:(void (^)())completionHandler { + completionHandler:(void (^)(void))completionHandler { LinphoneCall *call = linphone_core_get_current_call(LC); if (call) { diff --git a/Classes/SettingsView.m b/Classes/SettingsView.m index 017f0a370..7a9bfdad0 100644 --- a/Classes/SettingsView.m +++ b/Classes/SettingsView.m @@ -270,7 +270,7 @@ INIT_WITH_COMMON_CF { - (id)initWithRootViewController:(UIViewController *)rootViewController { [UINavigationControllerEx removeBackground:rootViewController.view]; - return [self initWithRootViewController:rootViewController]; + return [super initWithRootViewController:rootViewController]; } + (void)removeBackground:(UIView *)view {