PSSpecifier

From iPhone Development Wiki
Revision as of 07:51, 21 September 2009 by Rpetrich (talk | contribs) (Added information on customizing height of PSEditTextViewCells)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documented by kennytm at networkpx


Additions

PSEditTextViewCell

Custom Height

Override - (CGFloat)preferencesTable:(UIPreferencesTable *)table heightForRow:(NSInteger)row inGroup:(NSInteger)group withProposedHeight:(CGFloat)proposedHeight; to change the size of the cell.

Call setUserInfo on the specifier to set the inner text view height:

[specifier setUserInfo:[NSDictionary dictionaryWithObject:[NSNumber numberWithInt:180] forKey:@"height"]];