1
Я использовал следующие коды для настройки текста из в Customized UIBarButtonItem:Удалите тень в тексте UIButton
editButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemEdit target:self action:@selector(editPressed)];
self.navigationItem.rightBarButtonItem = editButton;
[editButton setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys: [UIFont fontWithName:@"HelveticaNeue" size:17.0], UITextAttributeFont, nil] forState:UIControlStateNormal];
Но TitleText получить немного тени.
Как я могу удалить эту тень?
может у показать скриншот? – IronManGill
http://stackoverflow.com/questions/10890723/putting-text-shadow-on-a-uibutton-text-label и http://stackoverflow.com/questions/5178896/adding-a-shadow-to-a -uibutton-label-in-xcode – iPatel
проверить эту ссылку http://stackoverflow.com/questions/11084331/how-do-i-disable-the-navigation-bar-shadow-in-ios-6-for-navigation- бары-с-кли –