Commit a9ee35cb authored by yueming lu's avatar yueming lu

修改bug

parent 3d8cb6e5
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
*/ */
- (void)initReferrerTabName { - (void)initReferrerTabName {
// 只有是controller的情况下才自动获取 // 只有是controller的情况下才自动获取
if ([self isKindOfClass:[UIViewController class]]) { if ([self.referrerTabName isEqualToString:@""] && [self isKindOfClass:[UIViewController class]]) {
// 分present与navigation两种情况 // 分present与navigation两种情况
UIViewController *me = (UIViewController *)self; UIViewController *me = (UIViewController *)self;
if (me.presentingViewController != nil) { if (me.presentingViewController != nil) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment