带有查询字符串的 TTURLMap ? (NSNull 长度错误)
我在项目中使用 Three20,并尝试将此路由添加到我的 url 映射中:
[map from:@"onefeat://missions?(initWithArgs:)"toSharedViewController:[MissionListController class]];
但应用程序在启动时失败,并出现 -[NSNull length]: 无法识别的选择器发送到实例 0x2a10cd8 错误。
是不是有一个包罗万象的网址,然后自己解析查询?
感谢您的帮助 !
I'm using three20 in my project and I'm trying to add this route to my url mapping :
[map from:@"onefeat://missions?(initWithArgs:)"toSharedViewController:[MissionListController class]];
But the app fails at launch with an -[NSNull length]: unrecognized selector sent to instance 0x2a10cd8 error.
Isn't there anyway to have a catchall url and then parse the query myself ?
Thanks for your help !
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该使用类似这样的内容:
有关示例的详细列表,您可以在 Three20 中的示例文件夹下查看 TTNavigatorDemo 演示
You should use something like this:
For an extensive list of samples you can see the TTNavigatorDemo demo under the samples folder in three20