No edit summary |
m (Move the occlass template down to the bottom, include the navbox.) |
||
Line 1: | Line 1: | ||
Documented by kennytm at [http://code.google.com/p/networkpx/wiki/PreferencesSpecifierPlistFormat networkpx] | Documented by kennytm at [http://code.google.com/p/networkpx/wiki/PreferencesSpecifierPlistFormat networkpx] | ||
== Additions == | == Additions == | ||
Line 15: | Line 13: | ||
[specifier setUserInfo:[NSDictionary dictionaryWithObject:[NSNumber numberWithInt:180] forKey:@"height"]]; | [specifier setUserInfo:[NSDictionary dictionaryWithObject:[NSNumber numberWithInt:180] forKey:@"height"]]; | ||
</source> | </source> | ||
{{occlass|library=Preferences.framework|navbox=1}} |
Revision as of 20:09, 5 February 2012
Documented by kennytm at networkpx
Additions
PSEditTextViewCell
Custom Height
Override - (CGFloat)preferencesTable:(UIPreferencesTable *)table heightForRow:(NSInteger)row inGroup:(NSInteger)group withProposedHeight:(CGFloat)proposedHeight; on your PSListController subclass 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"]];
|