Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

SDLCarWindowRenderingType Enumeration Reference

Section Contents

Overview

The type of rendering that CarWindow will perform. Depending on your app, you may need to try different ones for best performance

SDLCarWindowRenderingTypeLayer

Instead of rendering your UIViewController’s view, this will render the layer using renderInContext

Objective-C

SDLCarWindowRenderingTypeLayer

Swift

case layer = 0

SDLCarWindowRenderingTypeViewAfterScreenUpdates

Renders your UIViewController’s view using drawViewHierarchyInRect:bounds afterScreenUpdates:YES

Objective-C

SDLCarWindowRenderingTypeViewAfterScreenUpdates

Swift

case viewAfterScreenUpdates = 1

SDLCarWindowRenderingTypeViewBeforeScreenUpdates

Renders your UIViewController’s view using drawViewHierarchyInRect:bounds afterScreenUpdates:NO

Objective-C

SDLCarWindowRenderingTypeViewBeforeScreenUpdates

Swift

case viewBeforeScreenUpdates = 2
View on GitHub.com
Previous Section Next Section