Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Oct 8, 2008, 06:20 PM   #1
liptonlover
macrumors 6502a
 
Join Date: Mar 2008
scrollview won't scroll

I have a scrollview with various views in it, each of those views has various objects in them... it's all properly parented/childed. I do simulate interface, and it all shows up, but I can't scroll! I'm testing with the iphone simulator, as I'm having trouble setting up my touch for testing. I also tried making the scrollview smaller than the stuff in it, right now they're the exact same size. But it still doesn't work. Any help would be appreciated.
Thanks, Nate
__________________
Failure is not an option. It comes bundled with Windows.
Writing portfolio
liptonlover is offline   0 Reply With Quote
Old Oct 8, 2008, 06:59 PM   #2
PhoneyDeveloper
macrumors 68030
 
PhoneyDeveloper's Avatar
 
Join Date: Sep 2008
You have to set a UIScrollView's contentSize, in code, to the size of its contentView for it to scroll.
PhoneyDeveloper is offline   0 Reply With Quote
Old Oct 9, 2008, 01:31 AM   #3
chbeer
macrumors member
 
Join Date: Sep 2008
Location: Berlin
I also struggled a long time with my control in a scrollview. The problem there seemed to be that the property "userInteractionEnabled" (or the like; can't remember) had to be set to YES.
chbeer is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Issue with Two Finger scroll and Performance MX scroll direction clocksmith25 MacBook Pro 3 Dec 11, 2013 02:58 AM
Word for Mac won't scroll down when I hit enter Darkhawk OS X 2 Oct 15, 2013 11:53 AM
Iconoclasm + Infinifolders folder funkiness, won't scroll in folders shenan1982 Jailbreaks and iOS Hacks 1 Mar 27, 2013 08:45 AM
Mighty mouse won't scroll VelvetElegance Mac Peripherals 0 Mar 20, 2013 07:52 PM
Safari won't scroll... Tipsy McStagger MacBook Pro 4 Jul 31, 2012 08:54 AM

Forum Jump

All times are GMT -5. The time now is 05:38 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC