Objective c UINavigationController的颜色和色调是否与music.app类似?
如何创建与当前音乐应用程序中的UINavigationController完全相同的UINavigationController 我试过Objective c UINavigationController的颜色和色调是否与music.app类似?,objective-c,ios,uinavigationbar,Objective C,Ios,Uinavigationbar,如何创建与当前音乐应用程序中的UINavigationController完全相同的UINavigationController 我试过 [[UINavigationBar appearance] setTintColor:[UIColor colorWithRed:0.761 green:0.761 blue:0.761 alpha:1]]; 但这不是我想要的。最好的方法是什么?该条使用渐变来创建z轴舍入效果,因此您需要一个图案图像,它只需要是您想要的渐变的4x44像素,然后调用+[uic
[[UINavigationBar appearance] setTintColor:[UIColor colorWithRed:0.761 green:0.761 blue:0.761 alpha:1]];
但这不是我想要的。最好的方法是什么?该条使用渐变来创建z轴舍入效果,因此您需要一个图案图像,它只需要是您想要的渐变的4x44像素,然后调用
+[uicolorWithPatternImage:[UIImage imageNamed:@“myImage”]代码>