Clear background for UITableView on iPad

by alex 29. September 2010 01:51

//We need have this to clear background for UITableView on iPad

if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad){

[itemTable setBackgroundView:nil];

[itemTable setBackgroundView:[[[UIView alloc] init] autorelease]];

}

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


 

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>

Tags:

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen