|
|
|
|
61
|
self.titleView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin;
|
61
|
self.titleView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin;
|
62
|
self.titleView.clipsToBounds = YES;
|
62
|
self.titleView.clipsToBounds = YES;
|
63
|
|
63
|
|
64
|
- self.viewController.title = self.title;
|
|
|
|
|
64
|
+ self.viewController.navigationItem.title = self.title;
|
65
|
|
65
|
|
66
|
if ([self isTitleOnly]) {
|
66
|
if ([self isTitleOnly]) {
|
67
|
self.viewController.navigationItem.titleView = nil;
|
67
|
self.viewController.navigationItem.titleView = nil;
|