iSub-old-swift-port
iSub-old-swift-port copied to clipboard
Tracklist obscured by album art
When viewing an album ItemTableHeaderView is being constructed with width=0, this makes the artist/album title render above the top of the view (visible in screenshot by dragging down) and the tracklist render behind the album art. It's reproducable on a real device (iPhone 5s running iOS 10.3) but not in the simulator, attaching images of both:
Debugging leads to here:
https://github.com/einsteinx2/iSub/blob/master/Classes/UI/Reusable/DraggableTableViewController.swift#L58
where self.tableView.frame.size.width
is zero, which was as far as I was able to follow the issue.
Permalink (press y):
https://github.com/einsteinx2/iSub/blob/02d808d9d98d3b663d5699ed534dbe9b8c4afdd5/Classes/UI/Reusable/DraggableTableViewController.swift#L58