suchen

Heim  >  Fragen und Antworten  >  Hauptteil

objective-c - 这段代码报错:Missing context of method declaration

#import "RCTWeChat.h"

- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url {
  return [[RCTWeChat shareInstance] handleOpenURL: url];
}

- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation {
  return [[RCTWeChat shareInstance] handleOpenURL: url];
}
天蓬老师天蓬老师2762 Tage vor484

Antworte allen(1)Ich werde antworten

  • PHP中文网

    PHP中文网2017-04-28 09:06:50

    我记得一个是iOS8和iOS9的区别,你只需要实现一个,所以要判断设备的系统!

    Antwort
    0
  • StornierenAntwort