Xcode Tutorial: How To Add A Nice Background Image a Table View

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
25,811
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 31, 2010

self.tableView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"AppBackground.png"]];

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 4 dislikes

Link to this comment:

Share to:
see all

All Comments (19)

Sign In or Sign Up now to post a comment!
  • @TCampbellBSNRN Hey man, if your still working on that app, first drag and drop your desired image into your app's Resources folder. Then, open Interface Builder. Drag an Image View onto your View. Highlight the Image View, open Attributes Inspector. From there you can select the image to place as your background.

  • @88blockNS thanks man

  • @Alimohamedemad It's 99$ for a year subscription. You can upload all the apps you want during that year.

  • @PillonelProductions 99$ per application ? or for all your apps ?

  • hy i made the switch vies app and im tryng to put a table view with mutable arays in the second view ..can u please help me to do that..couse i did not slep for three day tryng to make this work..plssss.. i whant to do this: 2 switching views and in the second to put a table view with 5 arays difrent one off another ,and then each row with other names....i have my project in xcode 4...if u whant i can sand it to u to have a look ,maby im doing something rong...please help meee :))

  • @bluenoseMMX You "Spelled" "Spelt" Wrong in your review?? Try taking an English course before you start going on about Spelling Errors!!

  • I built an app I used tables and ns dictionary and arrays. Now Ive decided I want to add a background image, but when I use this code:

    self.tableView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"Medbg.png"]];

    It loads the background image into each cell of the table and not in the actual background at all. Do you know what Im doing wrong? can someone help me?

  • Everyone can make a good app but people need to realise that you publish your app on the app store or put it onto your iPhone/iPod unless you pay a yearly fee of $99 to apple

  • have u made any apps that are on the app store?

  • Awesome.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more