Ad
  
Cur: 2015-05-26 (Tue) 23:21:07 njf source Edit
Line 1: Line 1:
 +デバイスの判定にはCapabilities.manufacturerを使う。
 + if (Capabilities.manufacturer.search('Android') > -1) {
 +  trace("Android!");
 + } else if (Capabilities.manufacturer.search('iOS') > -1) {
 +  trace("iOS!");
 + }else {
 +  trace("OTHER!");
 + }
  

  • Backup diff of コードでデバイスの判定(No. All)
    • Cur: 2015-05-26 (Tue) 23:21:07 njf

Front page   Edit Diff Backup Upload Copy Rename ReloadPrint View   New Page Page list Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom) Powered by xpWiki
Counter: 1239, today: 1, yesterday: 0
広告

ログイン

ユーザー名:


パスワード:





パスワード紛失


NJF