【发布时间】:2017-01-28 00:06:55
【问题描述】:
我的应用中有 Apple 推送通知。
当用户点击通知时,我需要打开特定页面。
我有以下代码,我认为即使应用程序没有运行也应该触发回调方法。
Ti.Network.registerForPushNotifications({
success : deviceTokenSuccess,
error : deviceTokenError,
callback : receivePush
});
当应用未运行时,用户会收到通知,但 receivePush 方法根本没有触发。
【问题讨论】:
标签: ios apple-push-notifications appcelerator-titanium appcelerator-mobile