SCrolling images

Discussion in 'iOS Programming' started by mmalsn, Aug 16, 2011.

  1. mmalsn, Aug 16, 2011
    Last edited: Aug 16, 2011

    macrumors newbie

    Jul 20, 2011
    Hi guys ,

    i want to scroll images in this structure
    up1.jpg    up4.jpg   up7.jpg
    |           |            |
    1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9
    i know i should play with content size but

    how can i know if user scroll vertical so i will restrict the width

    and make just to top image and when user get back i then return the width to all images

  2. macrumors 65816


    Dec 29, 2010
    Aartselaar // Antwerp // Belgium
  3. thread starter macrumors newbie

    Jul 20, 2011
    the explanation
    first program run the first image is shown

    if there image named up1.jpg the user can scroll vertically and see the up image

    and then continue with scroll horizontally and vertically with above structure
  4. macrumors 65816


    Dec 29, 2010
    Aartselaar // Antwerp // Belgium
    You haven't read the links I showed you, and i'm still stumped upon your question.. I have no idea what you mean.
    All I understand, is you want to scroll vertically first time, and horizontally second time :s
  5. Moderator


    Staff Member

    Sep 2, 2004
    The Centennial State
    What's with the HTML tags?
  6. macrumors 601


    Jul 31, 2008
    Northern VA
    I think he wants to see if there are images, and if so, then scroll.

    Say, you're on your homescreen. And if there's an image titled up1.png, you scroll up. Then it brings you to a (second?) homescreen. And IF there's an image titled up2.png, you scroll up. If not, you scroll right/left depending on the name of the image. If on the second one, there's an image titled right1.jpg, you scroll right. Etc. And repeat each time.
  7. thread starter macrumors newbie

    Jul 20, 2011
    Scroll images

    All these numbers are images

    suppose these images are (images of story) so if the user sow the first screen and of course it is an image if the first screen has image up to it which i indicate with name up1.jpg the user has two choices

    1- scroll up to (up1.jpg).
    2- continue with the other images (horizontally)

    and continue with the others if image number 4 has (up4.jpg)

    this two choices is available again,if it hasn't there is just horizontal scroll
    is that clear!?
  8. macrumors regular

    Aug 26, 2010
    Are you looking to use a UIScrollView or a UIWebView?

Share This Page