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

  • SEARCH
  • Home
  • 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 3305514
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T21:10:40+00:00 2026-05-17T21:10:40+00:00

I have an ebook style iPhone app that allows users to read a book.

  • 0

I have an ebook style iPhone app that allows users to read a book. I have it setup so that when they leave the app, it remembers what page they were on, but not the exact spot on the page (the page can scroll quite a bit).

I am using NSUserDefaults to get me back to the page, I was wondering though if anyone had any ideas about how I might go about capturing the location they are on the page…

Would there be some way to capture y coordinate locations? Is that the right direction? What do you think?

Thanks!!

  • 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-17T21:10:41+00:00Added an answer on May 17, 2026 at 9:10 pm

    UIScrollView has a contentOffset property that returns a CGPoint (which is just a struct that has x and y coordinates). For example:

    CGPoint p = scrollview.contentOffset;
    // save p, or just p.y, to NSUserDefaults
    // ...
    
    // and then next time:
    CGPoint p;
    p.x = 0;
    p.y = getYourYValueFromNSUserDefaults();
    [scrollview setContentOffset:p animated:NO];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ebook in word that I convert to PDF before distributing to
I have a new web app that is packaged as a WAR as part
I'm doing a database for storing my eBook collection. Most of them have the
I have a large text file I would like to put on my ebook-reader,
I have a webview, which shows the pages of a ebook. I want to
My company has decided to develop ebook DRM platform. The platform does not have
I want to develop an ebook application for iPhone. I'm new to iPhone developement,
I have a client who is a publisher and also runs an on-line book
I am building some kind of eBook reader in C# and have the following
I have search a lot for iPhone material to get started, but I found

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.