update functions

This commit is contained in:
Danmei Chen 2020-02-25 10:54:59 +01:00
parent a85e4c9827
commit 7a4d625fa2
2 changed files with 3 additions and 3 deletions

View file

@ -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) {

View file

@ -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 {