iOS Custom Badge, Support UIView, UITabBarItem, UIBarButtonItem ,Support Objective-C/Swift; iOS自定义Badge组件, 支持UIView, UITabBarItem, UIBarButtonItem, 支持Objective-C/Swift
848
stars
118
forks
source link
一开始可以获取父视图,后面不知道怎么无法获取父视图 #21
Open
lixiangshadow opened 5 years ago
// 通过Xcode视图调试工具找到UIBarButtonItem的Badge所在父视图为:UIImageView UIView *navigationButton = [self valueForKey:@"_view"]; navigationButton = nil;居然为空