iSub-old-swift-port icon indicating copy to clipboard operation
iSub-old-swift-port copied to clipboard

Tracklist obscured by album art

Open Lanny opened this issue 7 years ago • 1 comments

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:

img_0442 screen shot 2017-12-26 at 10 28 58 pm

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.

Lanny avatar Dec 27 '17 06:12 Lanny

Permalink (press y):

https://github.com/einsteinx2/iSub/blob/02d808d9d98d3b663d5699ed534dbe9b8c4afdd5/Classes/UI/Reusable/DraggableTableViewController.swift#L58

https://github.com/einsteinx2/iSub/blob/02d808d9d98d3b663d5699ed534dbe9b8c4afdd5/Classes/UI/Reusable/DraggableTableViewController.swift#L58

luckydonald avatar Jan 04 '18 23:01 luckydonald