Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 03-13-2009, 03: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 03:40 PM. Reason: found solution
mrbelk is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,725
Threads: 89,183
Posts: 380,505
Top Poster: BrianSlick (7,125)
Welcome to our newest member, boltdozer
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:45 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.