0
UIButton을 만들고 싶습니다. "UISearchBar cancel button"과 같은 스타일입니다. "UISearchBar 취소 버튼"의 스타일 설정 코드를 알고 싶습니다.동일한 스타일의 UISearchBar 만들기 취소 버튼
제발 가르쳐주세요.
cancelButton = [UIButton buttonWithType:UIButtonTypeRoundedRect];
[cancelButton setTitle:@"Cancel" forState:UIControlStateNormal];
[cancelButton setFrame:CGRectMake(0,0,100,30)];
안녕 가 답장을 보내 주셔서 감사합니다. UINavigationButton도 고려합니다. 그러나 보장은 없습니다. – treefarm