Commit af0e0b07 authored by 汪洋's avatar 汪洋

添加child needlogpv=NO

parent ed104ec5
...@@ -14,7 +14,7 @@ PODS: ...@@ -14,7 +14,7 @@ PODS:
- AFNetworking/Serialization (3.1.0) - AFNetworking/Serialization (3.1.0)
- AFNetworking/UIKit (3.1.0): - AFNetworking/UIKit (3.1.0):
- AFNetworking/NSURLSession - AFNetworking/NSURLSession
- GMBase (0.4.6): - GMBase (0.4.7):
- GMHud - GMHud
- GMJSONModel - GMJSONModel
- GMKit - GMKit
...@@ -103,7 +103,7 @@ EXTERNAL SOURCES: ...@@ -103,7 +103,7 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
AFNetworking: 5e0e199f73d8626b11e79750991f5d173d1f8b67 AFNetworking: 5e0e199f73d8626b11e79750991f5d173d1f8b67
GMBase: 475c50eff77316bce4d1f9d7342771703ee0e1ad GMBase: 30084faea71c10d0f5670625940895f86723703a
GMCache: b7d48432ee2469eb0c6c86c720a1958bd373187e GMCache: b7d48432ee2469eb0c6c86c720a1958bd373187e
GMHud: 9cc3942fc9f215db55b134cbfd05a458b124a964 GMHud: 9cc3942fc9f215db55b134cbfd05a458b124a964
GMJSONModel: 5e81a98de668e9f93cf6ff77869f77b0d1a806be GMJSONModel: 5e81a98de668e9f93cf6ff77869f77b0d1a806be
......
...@@ -97,6 +97,16 @@ ...@@ -97,6 +97,16 @@
if (parent != nil && ![parent isKindOfClass:[UINavigationController class]]) { if (parent != nil && ![parent isKindOfClass:[UINavigationController class]]) {
self.navigationBar.hidden = YES; self.navigationBar.hidden = YES;
} }
if (parent != nil &&
![parent isKindOfClass:[UINavigationController class]] &&
parent.needLogPV &&
parent.pageName.length > 0 &&
[parent.pageName isEqualToString:self.pageName] &&
)
{
self.needLogPV = NO;
}
} }
- (void)viewWillAppear:(BOOL)animated - (void)viewWillAppear:(BOOL)animated
......
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