We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No description provided.
The text was updated successfully, but these errors were encountered:
当使用xib初始化PageMenu时, - (instancetype)initWithFrame:(CGRect)frame trackerStyle:(SPPageMenuTrackerStyle)trackerStyle;方法中的
- (instancetype)initWithFrame:(CGRect)frame trackerStyle:(SPPageMenuTrackerStyle)trackerStyle;
[self setupStartColor:_selectedItemTitleColor]; [self setupEndColor:_unSelectedItemTitleColor];
方法没有被执行到,导致此问题。 目前暂时的解决方案如下: xib加载完成后,执行PageMenu的如下方法:
[self.pageMenu performSelector:@selector(setupStartColor:) withObject:self.pageMenu.selectedItemTitleColor]; [self.pageMenu performSelector:@selector(setupEndColor:) withObject:self.pageMenu.unSelectedItemTitleColor];
Sorry, something went wrong.
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: