Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mmalsn

macrumors newbie
Original poster
Jul 20, 2011
13
0
Hi guys ,

i want to scroll images in this structure
HTML:
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

thanks,
 
Last edited:
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
 
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
 
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

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.
 
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!?
 
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!?

Are you looking to use a UIScrollView or a UIWebView?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.