Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old May 4, 2010, 01:26 PM   #1
suksmo
macrumors newbie
 
Join Date: May 2010
Scrollable text view

Hi,

I've got a lot of information going into a text view using the

blurb.text=@"....."

method. Problem is when this goes into the text view no scroll bar is created - so the text that rolls off the page cannot be viewed.

If I do it manually and put it in via interface builder theres no problem. Does anyone know how to solve this issue?
suksmo is offline   0 Reply With Quote
Old May 4, 2010, 01:39 PM   #2
dejo
Demi-God (Moderator)
 
dejo's Avatar
 
Join Date: Sep 2004
Location: Colorado
Make sure you have set the UITextView's contentSize (a property inherited from UIScrollView).
__________________
dejo is online now   0 Reply With Quote
Old May 4, 2010, 02:28 PM   #3
suksmo
Thread Starter
macrumors newbie
 
Join Date: May 2010
Quote:
Originally Posted by dejo View Post
Make sure you have set the UITextView's contentSize (a property inherited from UIScrollView).
I'll give that a go - seems to be a known issue - this solution didn't work -

http://www.iphonedevsdk.com/forum/ip...ble-3-0-a.html
suksmo is offline   0 Reply With Quote
Old May 4, 2010, 02:32 PM   #4
suksmo
Thread Starter
macrumors newbie
 
Join Date: May 2010
Quote:
Originally Posted by dejo View Post
Make sure you have set the UITextView's contentSize (a property inherited from UIScrollView).
You are 100% right - this is a fun learning curve!
suksmo is offline   0 Reply With Quote
Old May 4, 2010, 03:01 PM   #5
PhoneyDeveloper
macrumors 68020
 
PhoneyDeveloper's Avatar
 
Join Date: Sep 2008
Adding text to a text view should just work. It does for me. If the text is long enough then the view will be scrollable. Otherwise not. You don't need to do anything else.

If the frame of the textview extends outside the screen then you might have this problem. Also if the keyboard covers the bottom of the textview you might think you have this problem.
PhoneyDeveloper 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

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

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
How to remove gap between navigation bar and text view mikezang iPhone/iPad Programming 4 Dec 1, 2010 10:46 AM
For a IDE would i use OSA Script View or Text view. Cabbit Mac Programming 4 Jun 14, 2010 06:58 AM
Is it possible to create bullet lists in Text View? nyquist212 iPhone/iPad Programming 2 Oct 31, 2008 12:59 PM
scroll in Text View .xib JoshAK iPhone/iPad Programming 3 Aug 17, 2008 01:54 AM
how can i set the data to the text view control in xcode using carbon c? chidambaram Mac Programming 1 Mar 10, 2008 02:46 AM


All times are GMT -5. The time now is 09:33 AM.

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

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC