UIViewController(DBAViewChangeLogging) Category Reference

Declared in UIViewController+DBAViewChangeLogging.h
UIViewController+DBAViewChangeLogging.m

Overview

This category provides methods you can use if you want a view controller to opt out of automatic view logging. We split a recorded session by view controller to allow the session webplayer to conveniently divide the playback and as well to properly construct heatmaps.

To properly use these methods, your view controller should adopt the EXPViewChangeDefinition protocol.

– logViewDidAppear

You can call this method to log a view change.

- (void)logViewDidAppear

Discussion

Most times automatic view logging will be sufficient. But in some cases it may be preferable to manually handle the logging.

Warning: You must balance this method by messaging logViewDidDisappear

Declared In

UIViewController+DBAViewChangeLogging.h

– logViewDidDisappear

Call this method when your view controller disappears from view.

- (void)logViewDidDisappear

Discussion

Warning: Should not be messaged without previously messaging logViewDidAppear

Declared In

UIViewController+DBAViewChangeLogging.h