Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

APPLICATION PROPERTIES

Image Enable iAd.

Image Check this property to enable the iAd system in your application.

Image Display ad on bottom of the screen. If unchecked, the ad will be displayed on the top of the screen. If checked, the ad will be displayed on the bottom.

Image Frame property.

Image Display Ad. Check this property to allow the ad to be displayed on the frame. If the property is unchecked, and an ad was displayed from a previous frame, it will disappear. This property allows you to decide which one of the frames of your application will contain adverts.

Image Ad dimensions. A portrait-oriented iAd banner is 320 pixel wide and 50 pixels high. A landscape-oriented ad is 480 pixels wide and 32 pixels high. Wherever you choose the ad to be, top or bottom, the ad will cover the application. You must design the application so that no important data is supposed to display at the location of the banner. If your application uses the touch joystick as a means of control, then you have no choice; you must put the banner on the top of the screen (we could have displayed the joystick higher, but we realized that it was very easy to make a mistake and touch the ad instead of the joystick, thus interrupting the game).


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial