Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 01-19-2010, 04:46 PM   #1 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 6
Default Horizontally scrolling UIScrollView with pages of vertical scrolling views

Is this even possible? A client asks for this kind of stuff - scrolling horizontally through galleries and vertically through images of horizontally selected gallery.
Please, any opinions would be very much appreciated!
hveveris is offline   Reply With Quote
Old 01-19-2010, 05:37 PM   #2 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 6
Default

anyone?
hveveris is offline   Reply With Quote
Old 01-19-2010, 05:38 PM   #3 (permalink)
Registered Member
 
Join Date: Dec 2009
Posts: 471
Default

do you want the scroll view to change depending on the orientation of the device, or by which way you swipe on the scrollview?
__________________
01010111 01101111 01110111 00101100 00100000 01001010 01110101 01110011 01110100 01101001 01101100 01101100 00110100 00110101 00101100 00100000 01111001 01101111 01110101 01110010 00100000 01110011 01101111 01101111 01101111 00100000 01100011 01101111 01101111 01101111 01101100
WillSDev is offline   Reply With Quote
Old 01-19-2010, 05:45 PM   #4 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 6
Default

Quote:
Originally Posted by WillSDev View Post
do you want the scroll view to change depending on the orientation of the device, or by which way you swipe on the scrollview?
No, no screen orientation involved. Just imagine that you hold the iphone and swipe through images horizontally which at the same time represent galleries that you can swipe vertically.
hveveris is offline   Reply With Quote
Old 01-19-2010, 05:47 PM   #5 (permalink)
Registered Member
 
Join Date: Dec 2009
Posts: 471
Default

i beleive u can put a scrollviews inside the big scrollview? or you could have one big scrollview that goes up and down and enable paging.
__________________
01010111 01101111 01110111 00101100 00100000 01001010 01110101 01110011 01110100 01101001 01101100 01101100 00110100 00110101 00101100 00100000 01111001 01101111 01110101 01110010 00100000 01110011 01101111 01101111 01101111 00100000 01100011 01101111 01101111 01101111 01101100
WillSDev is offline   Reply With Quote
Old 01-19-2010, 06:21 PM   #6 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 6
Default

Quote:
Originally Posted by WillSDev View Post
i beleive u can put a scrollviews inside the big scrollview? or you could have one big scrollview that goes up and down and enable paging.
Well, i'm trying that now and I'm experiencing problems. It seems that the first vertical UIScrollView that gets displayed, steals touches from the horizontal container UIScrollView and I can't swipe horizontally, only vertically.
hveveris is offline   Reply With Quote
Old 01-19-2010, 06:43 PM   #7 (permalink)
Senior Member
iPhone Dev SDK Supporter
 
Join Date: Jan 2010
Location: Issaquah, WA
Age: 41
Posts: 1,184
Default

Quote:
Originally Posted by hveveris View Post
Is this even possible? A client asks for this kind of stuff - scrolling horizontally through galleries and vertically through images of horizontally selected gallery.
Please, any opinions would be very much appreciated!
This sounds totally weird/clumsy/confusing from a user experience point of view...
__________________
Recall It! Tag your notes. Tag your photos. Tag your thoughts. Tag your life.

Recall It! for iPad

http://www.dljeffery.com
dljeffery is offline   Reply With Quote
Old 01-19-2010, 06:47 PM   #8 (permalink)
Registered Member
 
Join Date: Dec 2009
Posts: 471
Default

so u kinda want it to look like how the Playstation Experience is? with a bar going through all the stuff and then offshoots of that bar. I don't think that is a good experience for the iphone.
__________________
01010111 01101111 01110111 00101100 00100000 01001010 01110101 01110011 01110100 01101001 01101100 01101100 00110100 00110101 00101100 00100000 01111001 01101111 01110101 01110010 00100000 01110011 01101111 01101111 01101111 00100000 01100011 01101111 01101111 01101111 01101100
WillSDev is offline   Reply With Quote
Old 01-19-2010, 08:12 PM   #9 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 6
Default

Quote:
Originally Posted by WillSDev View Post
so u kinda want it to look like how the Playstation Experience is? with a bar going through all the stuff and then offshoots of that bar. I don't think that is a good experience for the iphone.
Yes, exactly, like the Playstation menu. And yeah, i think it would be hardly user-friendly on the iPhone, but that's not my idea ;[ I just need to know if there is any chance that this can be made.

Last edited by hveveris; 01-19-2010 at 10:06 PM.
hveveris is offline   Reply With Quote
Old 02-23-2010, 07:55 AM   #10 (permalink)
Registered Member
 
Join Date: Jul 2008
Posts: 2
Default

With iPhone 3.x you can have scroll views within scroll views. Heres an article that might help Cocoa with Love: Multiple virtual pages in a UIScrollView with just 2 child views. Its not exactly what you want but it explains a lot.
mpbahl is offline   Reply With Quote
Old 06-14-2010, 04:44 PM   #11 (permalink)
Registered Member
 
Join Date: Jun 2010
Posts: 4
Default

I don't know if you've solved this by now, but you can use a UITableView where each cell is a UIScrollView.

The table view will provide smooth vertical scrolling, and then you can lock the individual scroll views to a horizontal scroll only.

There might be a problem that the TableView will capture the horizontal drag and not forward it to the scroll views, but there are some work arounds available for this.
reydan is offline   Reply With Quote
Reply

Bookmarks

Tags
iphonesdk, uiscrollview

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 257
21 members and 236 guests
14DEV, @sandris, ADY, ArtieFufkin10, bookesp, ckgni, dacapo, Dani77, DarkAn, Desert Diva, HemiMG, iDifferent, jakerocheleau, JasonR, prchn4christ, Rudy, ryantcb, Speed, theone8one
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,885
Threads: 89,230
Posts: 380,767
Top Poster: BrianSlick (7,129)
Welcome to our newest member, bookesp
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:46 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0