@interface UINavigationController (RefreshBackItem)
- (void)refreshBackItem;
@end
@implementation UINavigationController (RefreshBackItem)
- (void)refreshBackItem
{
UINavigationBar *bar = self.navigationBar;
UINavigationItem *backItem = bar.backItem;
NSString *title = [backItem title];
backItem.title = @"";
backItem.title = title;
}
@end
- (void)refreshBackItem;
@end
@implementation UINavigationController (RefreshBackItem)
- (void)refreshBackItem
{
UINavigationBar *bar = self.navigationBar;
UINavigationItem *backItem = bar.backItem;
NSString *title = [backItem title];
backItem.title = @"";
backItem.title = title;
}
@end