我想
- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url
从我的单元测试类中调用方法,任何人都可以告诉我如何调用....谢谢并提前
NSURL *urlstr=[NSURL URLWithString:@"mms://notify/StoreActivationData/?%7B%22SUCCESS%22:1,%22FAILURE_REASON%22:0"];
MMSAppDelegate *appDelegate=(MMSAppDelegate *)[[UIApplication sharedApplication]delegate];
bool valuee=[appDelegate application:mmsdelgate handleOpenURL:urlstr];
我收到此警告:发送MMSAppDelegate *__strong'
到类型参数的不兼容指针类型UIApplication *'