老旧博客

2018 年以来的技术笔记。地址没变,只是不再铺在首页上。

iOS ·

发送带参数的通知

[[NSNotificationCenter defaultCenter] postNotificationName:kCategorySelectNotify object:@(tap.view.tag)]; [...

iOS ·

iOS获取tabbar item view

+ (UIView *)viewForTabInTabBar:(UITabBar* )tabBar withIndex:(NSUInteger)index { NSMutableArray *tabBarItems...