Merge branch 'feature/add_current_page_type_prop' into 'develop'
Add current page type to session object. See merge request BPHV_MIPS/mvm_core_ui!154
This commit is contained in:
commit
b3b193e63d
@ -520,6 +520,7 @@
|
||||
|
||||
// Don't track page state if there is a tab bar page control, it will be handled later.
|
||||
if (!self.manager) {
|
||||
[MVMCoreUISession sharedGlobal].currentPageType = self.pageType;
|
||||
[self adobeTrackPageState];
|
||||
}
|
||||
|
||||
@ -821,6 +822,7 @@
|
||||
if (self.initialLoadFinished) {
|
||||
[self updateNavigationBarUI:self.manager.navigationController];
|
||||
}
|
||||
[MVMCoreUISession sharedGlobal].currentPageType = self.pageType;
|
||||
[self adobeTrackPageState];
|
||||
}
|
||||
|
||||
|
||||
@ -22,6 +22,9 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
@property (weak, nonatomic, nullable) MVMCoreUINavigationController *navigationController;
|
||||
@property (weak, nonatomic, nullable) MFLoadingViewController *loadingViewController;
|
||||
|
||||
/// Tracks the current page type the user is currently viewing. KVO compliant.
|
||||
@property (nonatomic, strong, nullable) NSString *currentPageType;
|
||||
|
||||
// for handscroll Animation on subclasses of MFScrollingViewController
|
||||
@property (assign, nonatomic) BOOL enableHandScrollAnimation;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user