剛剛發現的,
safari 可以直接看iphone simulator 跟實機裡面webView的html,
用法如下
1.把code build 在simulator 裡面
2.打開safari ,先打開 開發人員選項
3.safari 上面那一列會出現 iPhone Simulator
像圖中的youtubeid 就是我的project name ,
因為webView 沒取head 所以是blank
我想webAPP 應該很需要這招,用Ti開發的app 應該也可以用到~
自動產生Icon files
推播加聲音
{
"aps": {
"badge": 10,
"alert": "Hello world!",
"sound": "yell.mp3"
}
}
就會直接播app內的yell.mp3這個檔案
{
"aps": {
"badge": 10,
"alert": "Hello world!",
"sound": "yell.mp3"
},
"customID": 1
}
還可以做到customID這種事
reference:
Local and Push Notification Programming Guide
訂閱:
文章 (Atom)

