ios7 - Wrong vertical alignment of a UITextField in a TableView when using Dynamic Type to change the user-selected font sizes and weights -
When using the dynamic type to change the user-selected font size, I would like to have a vertical alignment of a UITextField in the table view Problems and weight
Due to my terrible English, I will use screenshots: ups, not enough prestige to post them. : - (
I am using Autolayout in my table view with custom table. Disabling Autolayout does not make any difference to my problem, so I think it is not the reason
Everything looks fine.
When I change to "setting" and after returning to the app, after selecting the second font size, the vertical of the UITEX field Alignment increased by about 5 points, basis of new fonts
When a When I close the form and it Then open it again, everything is fine! happens, then it comes in the right position:
viewDidLoad
Self selector: @sillector (preferred contracts change) Name: UIContentSizeCategoryDidChange information object: zero]; <{[Self.tableView reloaded data};} - (YD) configured font: (descriptioncolumn cell) * cell {cell.txtDetail.font = [UIFonts prefix Tfakststailः UIFontTextStyleSubheadline]; }
OK, there is a small problem, but it does not look professional; -)
1 Edit
There is a label above TextField The alignment of this label is fine.
Edit 2
When there are invisible cells at the bottom of the tableview, then I change the font and scroll to this invisible cells, these cells are okay! Is this case the reuse of cells? But I do not see any way to change it ...
Uh, I got these days later
CGFloat) Table view: (UITableView *) View table Estimated FourOre Endpoint Path: (NSIndexPath *) Index pathway
// to be able to return the estimated line height Minimum count Receive necessary // // The order of magnitude of the actual height 250 = & gt; Try and error: 200.0 was enough on the iPhone for me, but the iPad needs to return more 250.0f;
Comments
Post a Comment