Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashing on iOS 6.x and below #30

Closed
carloe opened this issue Nov 21, 2013 · 1 comment
Closed

Crashing on iOS 6.x and below #30

carloe opened this issue Nov 21, 2013 · 1 comment

Comments

@carloe
Copy link

carloe commented Nov 21, 2013

I am getting crashes on any iOS version older than 7.x. It looks like the crashes are caused by setTintColor since the function was not part of UITextField until iOS 7. The offending code block is:

- (void)setLabelActiveColor
{
    if (self.floatingLabelActiveTextColor) {
        _floatingLabel.textColor = self.floatingLabelActiveTextColor;
    }
    else {
       _floatingLabel.textColor = self.tintColor;
    }
}
@carloe
Copy link
Author

carloe commented Nov 21, 2013

Sorry, just noticed that there was a pull request yesterday that resolves this issue. Just hasn't made it into the cocoapod spec.

@carloe carloe closed this as completed Nov 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant