1

我想通过我的 iphone App 启动 MSN。我正在使用 url shema-

BOOL msn = [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"msnim://"]];
if (msn) {
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"msnim://"]];
}
else {

    UIAlertView * errorAlert = [[UIAlertView alloc] initWithTitle: @"MSN not Installed" message: nil delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil]; 
    [errorAlert show];  
    [errorAlert release];

但它不工作。我是否为 MSN 使用了错误的自定义 URL????如果是,那么 MSN 的 url 方案是什么。

4

0 回答 0