PSSpecifier

From iPhone Development Wiki
Revision as of 11:10, 7 September 2013 by Jon889 (talk | contribs) (Custom Height)
Jump to: navigation, search

Documented by kennytm at networkpx

Additions

PSEditTextViewCell

Custom Height

On your PSListController subclass, to change the size of the cell override

- (CGFloat)preferencesTable:(UIPreferencesTable *)table heightForRow:(NSInteger)row inGroup:(NSInteger)group withProposedHeight:(CGFloat)proposedHeight;

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

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