I'm having the most frustrating dilemma. I've researched up and down and can clearly see that Apple does not want us tampering with iOS 7. Well, I want to tamper. And, the team at Mailbox clearly figured out how to do it and get approved.
The main thing that I'm trying to achieve is to change the label color to white.
My first thought was they are using a custom UIPickerView that just mimics a UIDatePicker, but I just don't think this is the case.
I zoomed in on a small fragment and discovered remnants of a normal UIDatePicker (black lines) along with clipping on the letter "W".
Now I've scoured high and low. Did some runtime hacking, messed with UIAppearance, and even dug into some private APIs just to see if this is possible.
I got close, very close, but it used a private API, and if you scrolled fast enough the labels would turn black again.
I'm completely at a loss on how to do this without a) breaking the rules or b) spending countless hours reimplementing UIDatePicker.
Mailbox, tell me your secrets! And if anyone else has any suggestions (and I mean any), please let me know.
Also, this is the closest I've gotten:
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…