2012-02-28 36 views
1

我正在使用Push-notifications代碼,它對ios工作正常,但由於沒有在Android中運行,所以我可以放任何條件以便特定的代碼編譯/運行ios和android跳過特定的代碼?如何爲ios編譯PushNotifications代碼僅適用於Titanium中的android

+0

完成下面的網址Successfully..follow我與羅伯特通信.. http://developer.appcelerator.com/question/ 131680/SDK-181-機器人模塊-問題 – Wish 2012-03-21 05:56:26

回答

0

嘗試Titanium.Platform.osname != "android"Titanium.Platform.osname == "iphone"

你可以找到更多的選擇here

相關問題