SORU
25 NİSAN 2011, PAZARTESİ


Eğer Program aracılığıyla app aygıt veya simülatör üzerinde çalışma olup olmadığını tespit

Benim app çalışma süresi, cihaz veya simülatör üzerinde çalışma olup olmadığını bilmek istiyorum. Bir şekilde bu tespit var mı?

Neden simülatörü ile bluetooth apı testi için: http://volcore.limbicsoft.com/2009/09/iphone-os-31-gamekit-pt-1-woooohooo.html

CEVAP
25 NİSAN 2011, PAZARTESİ


#if TARGET_IPHONE_SIMULATOR

//Simulator

#else

// Device

#endif

Pls bu önceki ÇOK soru da What #defines are set up by Xcode when compiling for iPhone bakın

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Epic Tutorials for iPhone, iPad and iOS

    Epic Tutoria

    18 EYLÜL 2011
  • eurotuner

    eurotuner

    6 Mart 2006
  • PaulGBelliveau

    PaulGBellive

    5 Mart 2009