summaryrefslogtreecommitdiff
path: root/docs/Classes/SDLCarWindowViewController.html
blob: 0d8c23a49802e38d89db4c1626a83b7002654e04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<h1>SDLCarWindowViewController Class Reference</h1>

<h3>Section Contents</h3>

<ul>
  <li><a href="#section-supportedOrientation">supportedOrientation</a></li>
</ul>

<h3>Overview</h3>

<p>Note that if this is embedded in a UINavigationController and UITabBarController, it will not lock orientation. You must lock your container controller to a specific orientation.</p>


<section class="section task-group-section">
  <h3 id="section-supportedOrientation">
      supportedOrientation
  </h3>
  
  <p>The supported interface orientation you wish to use. Defaults to MaskPortrait.</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="k">@property</span> <span class="p">(</span><span class="n">nonatomic</span><span class="p">)</span> <span class="n">UIInterfaceOrientation</span> <span class="n">supportedOrientation</span><span class="p">;</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="k">var</span> <span class="nv">supportedOrientation</span><span class="p">:</span> <span class="kt">UIInterfaceOrientation</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

  
  
  
</section>