Githawk: Label cell selected state should keep label color

Created on 26 Oct 2017  ·  3Comments  ·  Source: GitHawkApp/GitHawk

GitHawk Upload by Sherlouk


Bug Report Dump (Auto-generated)

Version 1.12.0 (1106)
Device: iPhone 7 Plus (iOS 11.0.3)
TestFlight: true

🐛 bug low priority

All 3 comments

One way I've seen this done is by setting the background appearance of the button as an image via setBackgroundImage(_:for:). You'd need to be able to create a UIImage from a UIColor.

Alternatively, you can override the cell's setHighlighted:animated and setSelected:animated which I'm not a fan of but also works as seen here

Hopefully, this helps whoever tackles this issue in the future 👍

If someone wants to tackle this in the future; the same thing is happening in #905.

Old issue? The labels scene seems very different now.

I can't reproduce this in commit 966cb1a4d1238bc2e92a42afbaacd3b6ba497d6e dated 27 Sep 2018 on master

Xcode Version 10.0 (10A254a)
Simulator iPhone XR iOS 12

simulator screen shot - iphone xr - 2018-09-24 at 08 26 37

Was this page helpful?
0 / 5 - 0 ratings

Related issues

weyert picture weyert  ·  3Comments

BasThomas picture BasThomas  ·  3Comments

rizwankce picture rizwankce  ·  3Comments

BasThomas picture BasThomas  ·  3Comments

rnystrom picture rnystrom  ·  3Comments