PDA

View Full Version : scroll in Text View .xib




JoshAK
Aug 17, 2008, 12:16 AM
Can anyone tell me how to get the scroll to work in a text view. I've put a text view on a view but I can't get it to scroll. Any help would be great! Thanks,

Josh

PS I'm new to cocoa and iPhone dev so dumb it down please. :)



TripleJ
Aug 17, 2008, 12:23 AM
if you're using a text field, open the layout in interface builder, select the text field and in the properties inspector, tick the box that says vertical scrolling :) That should be it :)

JoshAK
Aug 17, 2008, 12:27 AM
I've tried that and my text still won't scroll. Any other suggestions?

Thanks,

Josh

Right you are. I needed more text in order to scroll. Thanks so much!!!

TripleJ
Aug 17, 2008, 01:54 AM
I'm glad it worked out :)
If for some reason you want to; in interface builder it is possible to just resize the text view as well so that you needn't have that much text to scroll. :)