Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3489112
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T11:21:13+00:00 2026-05-18T11:21:13+00:00

In a post, Making Long Scrolls on the iPhone Not Suck , Aza Raskin

  • 0

In a post, Making Long Scrolls on the iPhone Not Suck, Aza Raskin describes an alternative scrollbar control that’s better at getting around on very long pages:

Sticky Scroll Indicator

It’s not important that the scrollbar “remains for some amount of time” to activate it; I’m fine with simply swiping along the right edge of the iPhone’s screen to grab hold of the scrollbar handle. The idea is that if I drag the handle 3/4 of the way down on the physical screen, I’d be 3/4 of the way down on the page.

Tthe Dropbox iPhone app (it’s great, btw!) has exactly this kind of scrollbar for long PDF documents. Regular scrolling is done by dragging anywhere but on the handle; dragging the handle moves the view to that location. This seems to have been implemented “from scratch”, as I don’t think the SDK is flexible enough to customize the behavior of the existing scrollbar.

However, Dropbox uses the native document viewers to show documents on the iPhone, so somehow they add the scrollbar functionality to it. See the scrollbar handle? You can drag that to quickly get somewhere else in the document.

Dropbox scrollbar at the top
Dropbox scrollbar at the bottom

This concept is very similar to how index bars work in UITableView (ie. Contacts.app); the index appears as a bar on the right hand side of the table (for example, “a” through “z”), and you can touch a particular label to jump to the target section. In this case, however, a very long page doesn’t have sections, and it should work for general-purpose scrolling, not jumping to sections.

So how can I go about implementing this method of scrolling? I’m looking for general ideas and specific implementation details. I’m also interested if an open-source implementation exists (this seems like a general-purpose problem/solution).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T11:21:13+00:00Added an answer on May 18, 2026 at 11:21 am

    A general idea:

    I grabbed the dropbox app (it is awesome) and played around with a bit. It looks like pdf viewing takes a bit from the photo app in that it conditionally displays a translucent navbar and toolbar on touches, in addition to supporting the scrollbar. I’m pretty sure what’s going on is that they have a custom view controller intercepting touches and reacting accordingly.

    On a touch:

    1. If it’s a tap, show/hide the
      navbar and toolbar.
    2. If it’s on
      the scrubber, begin tracking the
      touch and scrolling the
      scrollview/webview (whatever they’re
      displaying with). I’m sure the
      scrolling is something simple like
      scrollView.contentOffset =
      CGPointMake(0, (scrubber.y / [UIScreen mainScreen].bounds.size.height) *
      scrollView.contentSize.height)
      . 3)
    3. Else, pass the touch on to the
      enclosed view.

    There may be other hidden magic with PDF displaying (I’ve never done it in cocoa touch) but something tells me this is their basic process.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After seeing a previous post Making Applications programmed in .NET languages work on older
I'm making a post httpwebrequst, but in the HttpWebResponse im getting an error code
First post, so here goes. I'm writing a script that does intelligent search and
first post don't hurt me :) I am using a BorderLayout with the usual
JavaScript post request like a form submit shows you how to submit a form
Duplicate post, see: When do you use the "this" keyword? On almost every project
1st post on stackoverflow, hope to have great feedback :) I'm currently trying to
This post reference to the One Definition Rule. Wikipedia is pretty bad on explaining
I am attempting to POST against a vendor's server using PHP 5.2 with cURL.
This is my first post here and I wanted to get some input from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.