for (UIView * view in self.navigationController.navigationBar.subviews) {
for (UIView * view2 in view.subviews) {
if ([view2 isKindOfClass:[UILabel class]]) {
UILabel * label = (UILabel *)view2;
_titleLabelFont = label.font;
}
}
}
网友评论