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
  • SDLCarWindowRenderingTypeViewAfterScreenUpdates: Renders your UIViewController’s view using drawViewHierarchyInRect:bounds afterScreenUpdates:YES
  • SDLCarWindowRenderingTypeViewBeforeScreenUpdates: Renders your UIViewController’s view using drawViewHierarchyInRect:bounds afterScreenUpdates:NO

SDLCarWindowRenderingTypeLayer

Undocumented

Objective-C

SDLCarWindowRenderingTypeLayer

Swift

case layer = 0

SDLCarWindowRenderingTypeViewAfterScreenUpdates

Undocumented

Objective-C

SDLCarWindowRenderingTypeViewAfterScreenUpdates

Swift

case viewAfterScreenUpdates = 1

SDLCarWindowRenderingTypeViewBeforeScreenUpdates

Undocumented

Objective-C

SDLCarWindowRenderingTypeViewBeforeScreenUpdates

Swift

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