m (Move the occlass template down to the bottom, include the navbox.) |
m (→Custom Height) |
||
Line 6: | Line 6: | ||
==== Custom Height ==== | ==== Custom Height ==== | ||
On your PSListController subclass, to change the size of the cell override | |||
<source lang="objc"> | |||
- (CGFloat)preferencesTable:(UIPreferencesTable *)table heightForRow:(NSInteger)row inGroup:(NSInteger)group withProposedHeight:(CGFloat)proposedHeight; | |||
</source> | |||
Call setUserInfo on the specifier to set the inner text view height: | Call setUserInfo on the specifier to set the inner text view height: |
Revision as of 11:10, 7 September 2013
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"]];
|