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 {