2014-04-19 52 views
2

我想刪除頂部的頂部1px細線顯示,並將1px細線添加到UiToolbar的底部。將細線邊框添加到ios7中UiToolbar的底部

@property (strong, nonatomic) IBOutlet UIToolbar *uiToolbar; 

// This removes the top hairline 
uiToolbar.clipsToBounds = YES; 

// How do I add a bottom hairline? (Should also resize automatically from portrait and landscape.) 

感謝

+0

你好,你是對的。我沒有想到UiToolbar是UiView的子類(所以我所有的谷歌搜索都不起作用)。如果你把它寫成答案,我會把它標記爲正確的。乾杯。 – user1256378

+0

Hi @ user1256378,我寫我的評論作爲答案。樂意效勞。乾杯! – mownier

回答