修改整个程序中某个class的外观
[[UINavigationBar appearance] setTintColor:myColor];
当某个class被包含在另外一个class内时,才修改外观。
[[UILabel appearanceWhenContainedIn:[cusSearchBar class], nil] setTextColor:[UIColorredColor]];
[[UINavigationBar appearance] setTintColor:myColor];
[[UILabel appearanceWhenContainedIn:[cusSearchBar class], nil] setTextColor:[UIColorredColor]];