iPhone SDK Using A UIScrollView Tutorial

Loading...

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

Uploaded by on Mar 10, 2010

Source Code http://www.tckdeveloper.com/Tutorials.html This is the first of many to come iPhone sdk tutorials. In this video you will learn how to use scroll views to make your app hold more content than can appear on screen. Buttons and large pictures are also used so you can get a better understanding of uiscrollviews. If you have a request or have a suggestions feel free to email me at tckdeveloper.com

  • likes, 4 dislikes

Link to this comment:

Share to:

Uploader Comments (TannerKilgore1)

  • Very helpful guide, thanks. I would recommend adding some zoom during the times that you were writing your code, as the code on the bottom of the screen was sometimes hard to follow.  Overall, very nice guide, thanks again.

  • @iP0dTouchAssistant Thank you. When the vid is uploaded its 1080p. Youtube then downsizes it. For the 1080p vid you can download it on my site by clicking the link in the description. Also for more coding tutorials check out my other channel tckdevelopment.

Top Comments

  • Best tutorial about UIScrollViews!

see all

All Comments (24)

Sign In or Sign Up now to post a comment!
  • When you setup the ContentSize make sure that it is big enough so the scrolling pages.

    - (void)scrollViewDidScroll:(UIS­crollView *)sender { // Update the page when more than 50% of the previous/next page is visible CGFloat pageWidth = self.scrollView.frame.size.wid­th; int page = floor((self.scrollView.content­Offset.x - pageWidth / 2) / pageWidth) + 1; self.pageControl.currentPage = page;

    }

  • I changed the background green. What keys to I press to see if the scroll view is active?

  • 1. I removed the existing view and created a new view

    The new view was resized width=350 and height=900

    2. A UIScrollView is added as a subview of the UIView

    3. The ScrollView is created as an Outlet IBOutlet UIScrollView *scrollView;

    4. In the viewDidLoad [scrollView setScrollEnabled:YES]; [scrollView setContentSize:CGSizeMake(150,­900)];

    5. The UIScrollView connections are: delegate = File Owner, scrollView = File Owner

    6. The UIView connection is: view = File Owner

  • This doesn't work when using storyboard, right? cuz i can't get it working :s

  • I was having a difficult time figuring out a few things about UIScrollView that your video cleared up. Awesome video, thanks!!

  • I don't like this video. Useless info > too simple.

  • That is a beautiful desktop!!!

  • Expected '.' before ']' token and Internal compiler error: Bus error..???

  • Thanks man, your tutorial is 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