I have a problem in iOS 7 with UITableView (style: UITableViewStyleGrouped ) and separatorInset . From time to time, the separator is not visible.
In short, using the same table (exactly the same code), if I render the table loading all the data directly (for example, from NSArray ), the delimiter lines are correct (iOS7 default style, correct insertion value). If I dynamically add new rows to the same table using something like insertRowsAtIndexPaths, the separator lines span the entire width of the cell / screen (thus no default style for iOS7).
I tried to get "separatorInset" to use setSeparatorInset both the UITableView and in each individual cell, but this did not work. If I reloadData after adding a new line, the separator lines will be displayed correctly. But this does not seem to be the best solution.
Any ideas why the delimiter is not showing periodically?
source share