UITabBarAppearance(QMUI)
@interface UITabBarAppearance (QMUI)
/**
同时设置 stackedLayoutAppearance、inlineLayoutAppearance、compactInlineLayoutAppearance 三个状态下的 itemAppearance
*/
- (void)qmui_applyItemAppearanceWithBlock:(void (^)(UITabBarItemAppearance *itemAppearance))block;
@end
Undocumented
-
同时设置 stackedLayoutAppearance、inlineLayoutAppearance、compactInlineLayoutAppearance 三个状态下的 itemAppearance
Declaration
Objective-C
- (void)qmui_applyItemAppearanceWithBlock: (nonnull void (^)(UITabBarItemAppearance *_Nonnull))block;
Swift
func qmui_applyItemAppearance(_ block: @escaping (UITabBarItemAppearance) -> Void)