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

Niiro13

macrumors 68000
Original poster
Feb 12, 2008
1,719
0
Illinois
This hasn't gotten an answer yet on the internet.

Basically, I want to have the same setup as the AIM application where horizontal scrolling has the paging effect but vertical scrolling is the normal smooth scrolling.

I figured I had to use two scrollviews, but the scrollview within the paging scrollview doesn't scroll.

So far I have it set up like in the Page Control example. except I added a scrollview as a subview of each page.

Thanks!
 

Niiro13

macrumors 68000
Original poster
Feb 12, 2008
1,719
0
Illinois
That's not how you do it. UIScrollView has a pagingEnabled property. Use that.

Yes, but the pagingEnabled seems to enable it for both horizontal and vertical scroll. I only want pagingEnabled for the horizontal axis. I figured the solution would have been dual scrollviews.

Like I said, the perfect example would be AIM's chats, where horizontal scrolling is paged, but the vertical scrolling is smooth.
 

PhoneyDeveloper

macrumors 68040
Sep 2, 2008
3,114
93
I haven't seen the AIM app. Perhaps it uses the UIScrollViewDelegate and changes the setting of pagingEnabled dynamically based on whether scrolling is vertical or horizontal. (Just a guess)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.