IOS调用Custom Protocol

    NSString* testUrl = @"myprotocal://192.168.0.1:8080/test?username=user&password=user";
    NSURL *myURL = [NSURL URLWithString:testUrl];
    [[UIApplication sharedApplication] openURL:myURL ]

Leave a Reply

Your email address will not be published. Required fields are marked *

*