我创建了一个子类,NSScriptCommand我得到了我的 URI。
它运作良好,[self directParameter]我得到了网址。
现在我找到了很棒的方法[self arguments]。
if([self isWellFormed] == YES) {
NSLog(@"is well formed");
NSDictionary *dic = [self arguments];
NSLog(@"dic = %@", dic);
}
但是dic是空的。=( 同样当 URL 类似于myAppUri:foo/bar?a=b#haha...
我要怎么做才能承认这些该死的论点?
顺便一提:
MyApp[39851:813] [self commandDescription] = 命令:GetURL ('GURL'/'GURL')
实现类:URLHandlerCommand
名称:,描述:
结果类型:('null')
描述: