Check if this is iPad

by alex 27. August 2010 04:22

//Detect if this is an iPad

if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad){

//this is iPad


 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Icons for universal application (iPhone/iPad)

by alex 17. May 2010 12:52

//Add icnon files to projects

//Add following to info.plist

 

<key>CFBundleIconFiles</key>

<array>

<string>Icon.png</string>

<string>iconiPad.png</string>

</array>

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen