2014-01-24 60 views
15

我想知道爲什麼我的iPhone應用程序的按鈕在iOS 6設備上運行時無法正常顯示。我在界面構建器中將按鈕的背景顏色設置爲藍色。但是,在iOS 6上運行時,按鈕背景變爲白色。在iOS6上運行時,UIButton背景顏色變爲白色

這是按鈕如何看待iOS7

運行

enter image description here

時,像這是按鈕如何看待iOS6的

enter image description here

回答

32

enter image description here

運行時,像改爲按CustomSystemRoundRect

+2

謝謝,完美的作品 –

+1

很高興聽到我可以幫助你:] –

+1

@ Pawan-Systematix自定義,系統和其他之間有什麼區別。 (Y) – khunshan

5

在「界面」構建器中將按鈕類型更改爲自定義按鈕。