Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
iOS Documentation
SDLCarWindowRenderingType

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