UIView viewHierarchySnapshot method.