Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Fixed font won't update when scroll to item #73

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Fixed font won't update when scroll to item #73

wants to merge 3 commits into from

Conversation

draveness
Copy link

Reproduce step:

  1. set highlighted font and highlighted color, in viewDidLoad

    _pickerView.font = [UIFont systemFontOfSize:26];
    _pickerView.highlightedFont = [UIFont systemFontOfSize:44];
    _pickerView.textColor = UIColorFromRGB(0x91EAFF);
    _pickerView.highlightedTextColor = UIColorFromRGB(0xffffff);
    
  2. call [_pickerView selectItem:2 animated:YES]; in viewDidAppear:

The first text color and font won't change

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant