關於segmentControl不同狀態不同顏色的設置

今天做這樣的樣式的,時候,發現他的border也會和background重疊在一起,非常不好看,於是我選擇重新設置他的border,使得他的顏色不會重疊在一起。做好之後如下效果:       [self setBorderAndColor:self.payBuddySegmentControl]; -(void)setBorderAndColor:(UIView *)bgView{       
相關文章
相關標籤/搜索