解析iOS推送通知
尝试解析我通过应用程序收到的推送。
但我在这里遇到一些问题:
NSString *resourcePath = [[launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey] objectForKey:@"aps"];
NSLog(@"resourcePath: %@", resourcePath);
NSLog
{
alert = cb;
badge = 1;
sound = default;
url = cxb; }
I NSLog it as String... how to get the URL?
谢谢你!
trying ot parse the push I geting with my app.
but i get some problems here:
NSString *resourcePath = [[launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey] objectForKey:@"aps"];
NSLog(@"resourcePath: %@", resourcePath);
NSLog
{
alert = cb;
badge = 1;
sound = default;
url = cxb; }
I NSLog it as String... how to get the URL?
Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它是一个字典对象。获取 url 键的对象。像这样:
Its a dictionary Object. Get object for url key. Like this: