1
我想知道如何設置我的UIView的backgroundColor到滾動查看帶紋理的背景顏色。UIView backgroundColor with image
這是我計劃實現它的方式,但我只是不知道patternImage被調用。
jumpBarContainer.backgroundColor = [UIColor colorWithPatternImage:????]
任何幫助將不勝感激。
我想知道如何設置我的UIView的backgroundColor到滾動查看帶紋理的背景顏色。UIView backgroundColor with image
這是我計劃實現它的方式,但我只是不知道patternImage被調用。
jumpBarContainer.backgroundColor = [UIColor colorWithPatternImage:????]
任何幫助將不勝感激。
jumpBarContainer.backgroundColor = [UIColor scrollViewTexturedBackgroundColor];
[UIColor scrollViewTexturedBackgroundColor]
是您需要使用的。
謝謝!這工作完美:P – HurkNburkS