Quote:
Originally Posted by PhoneyDeveloper
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