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

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 20, 2012, 11:06 AM   #1
RagingGoat
macrumors regular
 
Join Date: Jun 2010
Textview looks different on iPhone 5

I have a few text views in my app. They all look fine on 3.5" devices and are fine for the most part on the iPhone 5 but the text doesn't go all the way to the bottom of the screen on the 4" screen like it does on the 3.5". I've gone into IB and resized the text views on both the 3.5 and 4" screens. Does anyone have any suggestions?
RagingGoat is offline   0 Reply With Quote
Old Dec 20, 2012, 11:25 AM   #2
dejo
Moderator
 
dejo's Avatar
 
Join Date: Sep 2004
Location: The Centennial State
Quote:
Originally Posted by RagingGoat View Post
I've gone into IB and resized the text views on both the 3.5 and 4" screens.
How? Are you using struts-and-springs or Auto Layout?
__________________
dejo is online now   0 Reply With Quote
Old Dec 20, 2012, 11:30 AM   #3
RagingGoat
Thread Starter
macrumors regular
 
Join Date: Jun 2010
Auto
RagingGoat is offline   0 Reply With Quote
Old Dec 20, 2012, 11:43 AM   #4
dejo
Moderator
 
dejo's Avatar
 
Join Date: Sep 2004
Location: The Centennial State
Quote:
Originally Posted by RagingGoat View Post
Auto
Um, we'll need more details. Explain your Auto Layout constraints. Include screen shots, if necessary.
__________________
dejo is online now   0 Reply With Quote
Old Dec 20, 2012, 12:36 PM   #5
RagingGoat
Thread Starter
macrumors regular
 
Join Date: Jun 2010
Here are screenshots of an example in the simulator for both 3.5" and 4" screens, screenshots of it running on an iPhone 4S and an iPhone 5, and a screenshot of Xcode.
Attached Thumbnails
Click image for larger version

Name:	iOS Simulator Screen shot Dec 20, 2012 1.24.14 PM.png
Views:	11
Size:	169.4 KB
ID:	384805   Click image for larger version

Name:	iOS Simulator Screen shot Dec 20, 2012 1.24.54 PM.png
Views:	11
Size:	142.5 KB
ID:	384806   Click image for larger version

Name:	photo.png
Views:	11
Size:	139.2 KB
ID:	384807  

Click image for larger version

Name:	iPhone5.png
Views:	11
Size:	142.1 KB
ID:	384808   Click image for larger version

Name:	Xcode.png
Views:	21
Size:	1.21 MB
ID:	384809  
RagingGoat is offline   0 Reply With Quote
Old Dec 20, 2012, 01:01 PM   #6
dejo
Moderator
 
dejo's Avatar
 
Join Date: Sep 2004
Location: The Centennial State
I'd like to see all the auto-layout constraints for the textView, but I can see from that last screenshot that you have a constraint that makes the height 298. How do you expect it to get any taller on the iPhone 5?
__________________
dejo is online now   0 Reply With Quote
Old Dec 20, 2012, 01:52 PM   #7
RagingGoat
Thread Starter
macrumors regular
 
Join Date: Jun 2010
I'm not really sure. It gets taller in the simulator but not on an actual device.
RagingGoat is offline   0 Reply With Quote
Old Dec 20, 2012, 02:16 PM   #8
dejo
Moderator
 
dejo's Avatar
 
Join Date: Sep 2004
Location: The Centennial State
Quote:
Originally Posted by RagingGoat View Post
It gets taller in the simulator...
Well, that confuses me.
__________________
dejo is online now   0 Reply With Quote
Old Dec 20, 2012, 02:18 PM   #9
RagingGoat
Thread Starter
macrumors regular
 
Join Date: Jun 2010
Quote:
Originally Posted by dejo View Post
well, that confuses me.
ha!
RagingGoat 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
Scrolling textview + scrollview problem solinari6 iPhone/iPad Programming 4 Mar 27, 2014 02:17 PM
Font size of text in textview changed back to default in the runtime. jox0 iPhone/iPad Programming 5 Jan 10, 2014 10:52 AM
Game Cheat for iPhone 3GS, iPhone 4, iPhone 4S, iPhone 5, iPod touch (3rd generation) Mjasa iPhone and iPod touch Apps 0 Sep 14, 2013 07:25 AM
Update textview from Facebook/Twitter EricVgaard iPhone/iPad Programming 2 Oct 26, 2012 09:16 AM
TextView not responding to touch ONLY when Apple releases a version WallStreetVH iPhone/iPad Programming 1 Jul 24, 2012 04:43 PM

Forum Jump

All times are GMT -5. The time now is 05:19 PM.

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

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