Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 03-13-2009, 02:26 PM   #3 (permalink)
mrbelk
Registered Member
 
Join Date: Feb 2009
Posts: 34
Default

Quote:
Originally Posted by PhoneyDeveloper View Post
Image shift is probably because you're not setting the autoresizeMask and/or row height correctly.

The wrong label text should be simple to figure out. Setting the correct label text depends on having the correct label and the correct text. Almost certainly one of those is nil or invalid. Possibly you're using the wrong tag or you didn't set the tag in IB.
The tag thing is part of the solution. I was tagging the stuff contained in the UITableViewCell starting with zero, but it would appear that the UITableViewCell itself reserves zero for itself, so subviews have to start at 1. The image shift is fixed now, as is the label text in the 2nd section, but the button text is still the placeholder text.

What is the "correct" way to set the title of a button using that UIControlState enumeration? Should the state really only be UIControlStateNormal, or should it be an OR'ed combination of Normal, Highlighted, and Selected?

NVM: I figured out what I was doing wrong with the UIButton title.

Thanks,
-MrB

Last edited by mrbelk; 03-13-2009 at 02:40 PM. Reason: found solution
mrbelk is offline   Reply With Quote
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,353
Threads: 39,148
Posts: 171,625
Top Poster: smasher (2,577)
Welcome to our newest member, pyrrho
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:28 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.