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 8672561
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T19:14:10+00:00 2026-06-12T19:14:10+00:00

I’ve recently inherited a project for the iPad which is basically an image/presentation viewer.

  • 0

I’ve recently inherited a project for the iPad which is basically an image/presentation viewer. After selecting the presentation the user wishes to view, the app basically shows the images, one by one, changing when the user swipes up or down, or when they tap one of the arrows in the corners of the screen. However, some of the images in the presentation have the pagination dots, with arrows on either side of them. The images are in order, and as you swipe from one to the next, the dot moves. What our client would like is to be able to use the dots and arrows, which are part of the static image, for navigation. Meaning when they hit a dot, it takes them to the appropriate page.

The early, early, original version of this application had a huge plist file with information on all the images in the app, including if there were any of these carousel views, and where they would go. This has been long gone now, and there are many, many more images/presentations in the app than there were then.

Is there a better way to determine where to listen for touch? Or should I resign myself to writing a text file, and knowing I’d have to edit that when the content changes? I’ve been told that the content shouldn’t change that often.

  • 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-06-12T19:14:11+00:00Added an answer on June 12, 2026 at 7:14 pm

    You need to create a mapping of an image to a dot location, and do it dynamically as images are eligible for view and remove it when the image goes out of scope. If you are using UIImageViews you can use the tag field for this, if not – if using raw CGImageRefs or UIImages work too.

    You create a mutableDictionary, and use the key to map to the image. If a UIImageView this can be a NSNumber representing the tag, and if images then you can use a NSValue object set to the address of the image. When the image goes into scope, you add an entry to the dictionary that has the image key, and either a single NSNumber to identify the dot location, or a string representation of the hit rectangle (recalling you can may CGRects to strings and vice versa with NSStringFromCGRect() etc).

    When you get a tap on an image, you get the key for the relevant image, ask for the locator from the mutable dictionary, and allow or disallow it. You will need to know the frame of the image in whatever container it is in as whatever is doing tap recognition is probably not the image itself, so you can get a local image offset.

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

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
I am trying to understand how to use SyndicationItem to display feed which is
I used javascript for loading a picture on my website depending on which small
Basically, what I'm trying to create is a page of div tags, each has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I would like to run a str_replace or preg_replace which looks for certain words
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have an autohotkey script which looks up a word in a bilingual dictionary
I have an array which has BIG numbers and small numbers in it. I

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.