2011-06-09 45 views
0

对于UINavigationBar,色彩颜色是否必须是一个非常简单的UIColor?UINavigationBar tintColor

我有一种由图案制成的颜色,我试图使用它。这不可能吗?有什么办法可以做到吗?酒吧刚出来黑色。

UIColor* tmpColor = [ [UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"best.png"]];  
    [theBar setTintColor:tmpColor]; 
+0

我真的不认为这是可能的。 – pt2ph8 2011-06-09 19:37:25

+0

它**将可能在iOS5 – akashivskyy 2011-06-09 19:48:41

+0

@Kashiv iOS 5是在NDA:你可能还没有在这里说。 – 2011-06-09 21:46:53

回答

-1

答案是它在当前的iOS版本中是不可能的。

+0

在iOS5出来之后对此有何更新? – 2012-01-04 13:53:20

+1

不是一个有用的答案 - “当前的iOS版本”不是一个非常有前途的术语。 – jonsibley 2012-11-05 19:06:27

相关问题