标签:
CustomTabbar *tabbar = [[CustomTabbar alloc]init]; //KVC,更换系统的tabbar为自定义tabbar tabbar.tabbarDelegate = self; [self setValue:tabbar forKeyPath:@"tabBar"];
此处keyPath:@"tabBar",为系统的tabBar声明的私有的成员变量名
标签:
原文地址:http://www.cnblogs.com/sixindev/p/4838849.html