mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Fix rotation
This commit is contained in:
parent
258d9f7b2f
commit
0315fe7f77
13 changed files with 763 additions and 77 deletions
|
|
@ -1,18 +1,19 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
|
||||
<data>
|
||||
<int key="IBDocument.SystemTarget">1296</int>
|
||||
<string key="IBDocument.SystemVersion">11E53</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">2549</string>
|
||||
<string key="IBDocument.AppKitVersion">1138.47</string>
|
||||
<int key="IBDocument.SystemTarget">1536</int>
|
||||
<string key="IBDocument.SystemVersion">11G63</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">2840</string>
|
||||
<string key="IBDocument.AppKitVersion">1138.51</string>
|
||||
<string key="IBDocument.HIToolboxVersion">569.00</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="NS.object.0">1498</string>
|
||||
<string key="NS.object.0">1926</string>
|
||||
</object>
|
||||
<array key="IBDocument.IntegratedClassDependencies">
|
||||
<string>IBProxyObject</string>
|
||||
<string>IBUICustomObject</string>
|
||||
<string>IBUIViewController</string>
|
||||
<string>IBUIWindow</string>
|
||||
</array>
|
||||
<array key="IBDocument.PluginDependencies">
|
||||
|
|
@ -36,10 +37,11 @@
|
|||
</object>
|
||||
<object class="IBUIWindow" id="85768899">
|
||||
<reference key="NSNextResponder"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<int key="NSvFlags">301</int>
|
||||
<string key="NSFrameSize">{320, 480}</string>
|
||||
<reference key="NSSuperview"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:9</string>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
|
|
@ -51,6 +53,35 @@
|
|||
<bool key="IBUIVisibleAtLaunch">YES</bool>
|
||||
<bool key="IBUIResizesToFullScreen">YES</bool>
|
||||
</object>
|
||||
<object class="IBUIViewController" id="336032334">
|
||||
<bool key="IBUIAutoresizesArchivedViewToFullSize">NO</bool>
|
||||
<string key="IBUINibName">BuschJaegerMainView</string>
|
||||
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
|
||||
<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
|
||||
<int key="IBUIInterfaceOrientation">1</int>
|
||||
<int key="interfaceOrientation">1</int>
|
||||
</object>
|
||||
<object class="IBUIScreenMetrics" key="IBUISimulatedDestinationMetrics">
|
||||
<string key="IBUISimulatedSizeMetricsClass">IBUIScreenMetrics</string>
|
||||
<object class="NSMutableDictionary" key="IBUINormalizedOrientationToSizeMap">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<array key="dict.sortedKeys">
|
||||
<integer value="1"/>
|
||||
<integer value="3"/>
|
||||
</array>
|
||||
<array key="dict.values">
|
||||
<string>{320, 568}</string>
|
||||
<string>{568, 320}</string>
|
||||
</array>
|
||||
</object>
|
||||
<string key="IBUITargetRuntime">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIDisplayName">Retina 4 Full Screen</string>
|
||||
<int key="IBUIType">2</int>
|
||||
</object>
|
||||
<bool key="IBUIWantsFullScreenLayout">YES</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<bool key="IBUIHorizontal">NO</bool>
|
||||
</object>
|
||||
</array>
|
||||
<object class="IBObjectContainer" key="IBDocument.Objects">
|
||||
<array class="NSMutableArray" key="connectionRecords">
|
||||
|
|
@ -70,6 +101,14 @@
|
|||
</object>
|
||||
<int key="connectionID">6</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">rootViewController</string>
|
||||
<reference key="source" ref="85768899"/>
|
||||
<reference key="destination" ref="336032334"/>
|
||||
</object>
|
||||
<int key="connectionID">33</int>
|
||||
</object>
|
||||
</array>
|
||||
<object class="IBMutableOrderedSet" key="objectRecords">
|
||||
<array key="orderedObjects">
|
||||
|
|
@ -101,6 +140,11 @@
|
|||
<array class="NSMutableArray" key="children"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">32</int>
|
||||
<reference key="object" ref="336032334"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
</array>
|
||||
</object>
|
||||
<dictionary class="NSMutableDictionary" key="flattenedProperties">
|
||||
|
|
@ -110,16 +154,431 @@
|
|||
<string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="3.CustomClassName">LinphoneAppDelegate</string>
|
||||
<string key="3.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="32.CustomClassName">BuschJaegerMainView</string>
|
||||
<string key="32.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="4.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
|
||||
<nil key="activeLocalization"/>
|
||||
<dictionary class="NSMutableDictionary" key="localizations"/>
|
||||
<nil key="sourceID"/>
|
||||
<int key="maxID">31</int>
|
||||
<int key="maxID">33</int>
|
||||
</object>
|
||||
<object class="IBClassDescriber" key="IBDocument.Classes">
|
||||
<array class="NSMutableArray" key="referencedPartialClassDescriptions">
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">BuschJaegerCallView</string>
|
||||
<string key="superclassName">UIViewController</string>
|
||||
<dictionary class="NSMutableDictionary" key="actions">
|
||||
<string key="onSnapshotClick:">id</string>
|
||||
<string key="takeCall:">id</string>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="actionInfosByName">
|
||||
<object class="IBActionInfo" key="onSnapshotClick:">
|
||||
<string key="name">onSnapshotClick:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
<object class="IBActionInfo" key="takeCall:">
|
||||
<string key="name">takeCall:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="outlets">
|
||||
<string key="cameraLeftSwipeGestureRecognizer">UISwipeGestureRecognizer</string>
|
||||
<string key="cameraRightSwipeGestureRecognizer">UISwipeGestureRecognizer</string>
|
||||
<string key="contactLabel">UILabel</string>
|
||||
<string key="declineButton">UIHangUpButton</string>
|
||||
<string key="endOrRejectCallButton">UIHangUpButton</string>
|
||||
<string key="incomingView">UIView</string>
|
||||
<string key="lightsButton">UIDigitButton</string>
|
||||
<string key="microButton">UIToggleButton</string>
|
||||
<string key="openDoorButton">UIDigitButton</string>
|
||||
<string key="snapshotButton">UIButton</string>
|
||||
<string key="takeCallButton">UIButton</string>
|
||||
<string key="videoView">UIView</string>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
|
||||
<object class="IBToOneOutletInfo" key="cameraLeftSwipeGestureRecognizer">
|
||||
<string key="name">cameraLeftSwipeGestureRecognizer</string>
|
||||
<string key="candidateClassName">UISwipeGestureRecognizer</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="cameraRightSwipeGestureRecognizer">
|
||||
<string key="name">cameraRightSwipeGestureRecognizer</string>
|
||||
<string key="candidateClassName">UISwipeGestureRecognizer</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="contactLabel">
|
||||
<string key="name">contactLabel</string>
|
||||
<string key="candidateClassName">UILabel</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="declineButton">
|
||||
<string key="name">declineButton</string>
|
||||
<string key="candidateClassName">UIHangUpButton</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="endOrRejectCallButton">
|
||||
<string key="name">endOrRejectCallButton</string>
|
||||
<string key="candidateClassName">UIHangUpButton</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="incomingView">
|
||||
<string key="name">incomingView</string>
|
||||
<string key="candidateClassName">UIView</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="lightsButton">
|
||||
<string key="name">lightsButton</string>
|
||||
<string key="candidateClassName">UIDigitButton</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="microButton">
|
||||
<string key="name">microButton</string>
|
||||
<string key="candidateClassName">UIToggleButton</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="openDoorButton">
|
||||
<string key="name">openDoorButton</string>
|
||||
<string key="candidateClassName">UIDigitButton</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="snapshotButton">
|
||||
<string key="name">snapshotButton</string>
|
||||
<string key="candidateClassName">UIButton</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="takeCallButton">
|
||||
<string key="name">takeCallButton</string>
|
||||
<string key="candidateClassName">UIButton</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="videoView">
|
||||
<string key="name">videoView</string>
|
||||
<string key="candidateClassName">UIView</string>
|
||||
</object>
|
||||
</dictionary>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBProjectSource</string>
|
||||
<string key="minorKey">./Classes/BuschJaegerCallView.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">BuschJaegerHistoryDetailsView</string>
|
||||
<string key="superclassName">UIViewController</string>
|
||||
<dictionary class="NSMutableDictionary" key="actions">
|
||||
<string key="hideImage:">id</string>
|
||||
<string key="onBackClick:">id</string>
|
||||
<string key="onDeleteClick:">id</string>
|
||||
<string key="saveImage:">id</string>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="actionInfosByName">
|
||||
<object class="IBActionInfo" key="hideImage:">
|
||||
<string key="name">hideImage:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
<object class="IBActionInfo" key="onBackClick:">
|
||||
<string key="name">onBackClick:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
<object class="IBActionInfo" key="onDeleteClick:">
|
||||
<string key="name">onDeleteClick:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
<object class="IBActionInfo" key="saveImage:">
|
||||
<string key="name">saveImage:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="outlets">
|
||||
<string key="backButton">UIView</string>
|
||||
<string key="dateLabel">UILabel</string>
|
||||
<string key="detailsLeftSwipeGestureRecognizer">UISwipeGestureRecognizer</string>
|
||||
<string key="detailsRightSwipeGestureRecognizer">UISwipeGestureRecognizer</string>
|
||||
<string key="detailsTapGestureRecognizer">UITapGestureRecognizer</string>
|
||||
<string key="fullscreenView">UIView</string>
|
||||
<string key="imageView">UIRemoteImageView</string>
|
||||
<string key="saveButton">UIButton</string>
|
||||
<string key="stationLabel">UILabel</string>
|
||||
<string key="tableController">UITableViewController</string>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
|
||||
<object class="IBToOneOutletInfo" key="backButton">
|
||||
<string key="name">backButton</string>
|
||||
<string key="candidateClassName">UIView</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="dateLabel">
|
||||
<string key="name">dateLabel</string>
|
||||
<string key="candidateClassName">UILabel</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="detailsLeftSwipeGestureRecognizer">
|
||||
<string key="name">detailsLeftSwipeGestureRecognizer</string>
|
||||
<string key="candidateClassName">UISwipeGestureRecognizer</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="detailsRightSwipeGestureRecognizer">
|
||||
<string key="name">detailsRightSwipeGestureRecognizer</string>
|
||||
<string key="candidateClassName">UISwipeGestureRecognizer</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="detailsTapGestureRecognizer">
|
||||
<string key="name">detailsTapGestureRecognizer</string>
|
||||
<string key="candidateClassName">UITapGestureRecognizer</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="fullscreenView">
|
||||
<string key="name">fullscreenView</string>
|
||||
<string key="candidateClassName">UIView</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="imageView">
|
||||
<string key="name">imageView</string>
|
||||
<string key="candidateClassName">UIRemoteImageView</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="saveButton">
|
||||
<string key="name">saveButton</string>
|
||||
<string key="candidateClassName">UIButton</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="stationLabel">
|
||||
<string key="name">stationLabel</string>
|
||||
<string key="candidateClassName">UILabel</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="tableController">
|
||||
<string key="name">tableController</string>
|
||||
<string key="candidateClassName">UITableViewController</string>
|
||||
</object>
|
||||
</dictionary>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBProjectSource</string>
|
||||
<string key="minorKey">./Classes/BuschJaegerHistoryDetailsView.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">BuschJaegerHistoryTableViewController</string>
|
||||
<string key="superclassName">UITableViewController</string>
|
||||
<object class="NSMutableDictionary" key="outlets">
|
||||
<string key="NS.key.0">waitView</string>
|
||||
<string key="NS.object.0">UIView</string>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="toOneOutletInfosByName">
|
||||
<string key="NS.key.0">waitView</string>
|
||||
<object class="IBToOneOutletInfo" key="NS.object.0">
|
||||
<string key="name">waitView</string>
|
||||
<string key="candidateClassName">UIView</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBProjectSource</string>
|
||||
<string key="minorKey">./Classes/BuschJaegerHistoryTableViewController.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">BuschJaegerHistoryView</string>
|
||||
<string key="superclassName">UIViewController</string>
|
||||
<object class="NSMutableDictionary" key="actions">
|
||||
<string key="NS.key.0">onBackClick:</string>
|
||||
<string key="NS.object.0">id</string>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="actionInfosByName">
|
||||
<string key="NS.key.0">onBackClick:</string>
|
||||
<object class="IBActionInfo" key="NS.object.0">
|
||||
<string key="name">onBackClick:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
</object>
|
||||
<dictionary class="NSMutableDictionary" key="outlets">
|
||||
<string key="backButton">UIView</string>
|
||||
<string key="tableController">BuschJaegerHistoryTableViewController</string>
|
||||
<string key="waitView">UIView</string>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
|
||||
<object class="IBToOneOutletInfo" key="backButton">
|
||||
<string key="name">backButton</string>
|
||||
<string key="candidateClassName">UIView</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="tableController">
|
||||
<string key="name">tableController</string>
|
||||
<string key="candidateClassName">BuschJaegerHistoryTableViewController</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="waitView">
|
||||
<string key="name">waitView</string>
|
||||
<string key="candidateClassName">UIView</string>
|
||||
</object>
|
||||
</dictionary>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBProjectSource</string>
|
||||
<string key="minorKey">./Classes/BuschJaegerHistoryView.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">BuschJaegerMainView</string>
|
||||
<string key="superclassName">UIViewController</string>
|
||||
<dictionary class="NSMutableDictionary" key="outlets">
|
||||
<string key="callView">BuschJaegerCallView</string>
|
||||
<string key="historyDetailsView">BuschJaegerHistoryDetailsView</string>
|
||||
<string key="historyView">BuschJaegerHistoryView</string>
|
||||
<string key="manualSettingsView">BuschJaegerManualSettingsView</string>
|
||||
<string key="navigationController">UINavigationControllerEx</string>
|
||||
<string key="settingsView">BuschJaegerSettingsView</string>
|
||||
<string key="welcomeView">BuschJaegerWelcomeView</string>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
|
||||
<object class="IBToOneOutletInfo" key="callView">
|
||||
<string key="name">callView</string>
|
||||
<string key="candidateClassName">BuschJaegerCallView</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="historyDetailsView">
|
||||
<string key="name">historyDetailsView</string>
|
||||
<string key="candidateClassName">BuschJaegerHistoryDetailsView</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="historyView">
|
||||
<string key="name">historyView</string>
|
||||
<string key="candidateClassName">BuschJaegerHistoryView</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="manualSettingsView">
|
||||
<string key="name">manualSettingsView</string>
|
||||
<string key="candidateClassName">BuschJaegerManualSettingsView</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="navigationController">
|
||||
<string key="name">navigationController</string>
|
||||
<string key="candidateClassName">UINavigationControllerEx</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="settingsView">
|
||||
<string key="name">settingsView</string>
|
||||
<string key="candidateClassName">BuschJaegerSettingsView</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="welcomeView">
|
||||
<string key="name">welcomeView</string>
|
||||
<string key="candidateClassName">BuschJaegerWelcomeView</string>
|
||||
</object>
|
||||
</dictionary>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBProjectSource</string>
|
||||
<string key="minorKey">./Classes/BuschJaegerMainView.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">BuschJaegerManualSettingsView</string>
|
||||
<string key="superclassName">UIViewController</string>
|
||||
<dictionary class="NSMutableDictionary" key="outlets">
|
||||
<string key="addressField">UITextField</string>
|
||||
<string key="backButton">UIView</string>
|
||||
<string key="passwordField">UITextField</string>
|
||||
<string key="usernameField">UITextField</string>
|
||||
<string key="validButton">UIView</string>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
|
||||
<object class="IBToOneOutletInfo" key="addressField">
|
||||
<string key="name">addressField</string>
|
||||
<string key="candidateClassName">UITextField</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="backButton">
|
||||
<string key="name">backButton</string>
|
||||
<string key="candidateClassName">UIView</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="passwordField">
|
||||
<string key="name">passwordField</string>
|
||||
<string key="candidateClassName">UITextField</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="usernameField">
|
||||
<string key="name">usernameField</string>
|
||||
<string key="candidateClassName">UITextField</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="validButton">
|
||||
<string key="name">validButton</string>
|
||||
<string key="candidateClassName">UIView</string>
|
||||
</object>
|
||||
</dictionary>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBProjectSource</string>
|
||||
<string key="minorKey">./Classes/BuschJaegerManualSettingsView.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">BuschJaegerSettingsView</string>
|
||||
<string key="superclassName">UIViewController</string>
|
||||
<dictionary class="NSMutableDictionary" key="actions">
|
||||
<string key="onBackClick:">id</string>
|
||||
<string key="onManualClick:">id</string>
|
||||
<string key="onScanClick:">id</string>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="actionInfosByName">
|
||||
<object class="IBActionInfo" key="onBackClick:">
|
||||
<string key="name">onBackClick:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
<object class="IBActionInfo" key="onManualClick:">
|
||||
<string key="name">onManualClick:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
<object class="IBActionInfo" key="onScanClick:">
|
||||
<string key="name">onScanClick:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="outlets">
|
||||
<string key="backButton">UIView</string>
|
||||
<string key="manualButton">UIView</string>
|
||||
<string key="scanButton">UIView</string>
|
||||
<string key="waitView">UIView</string>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
|
||||
<object class="IBToOneOutletInfo" key="backButton">
|
||||
<string key="name">backButton</string>
|
||||
<string key="candidateClassName">UIView</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="manualButton">
|
||||
<string key="name">manualButton</string>
|
||||
<string key="candidateClassName">UIView</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="scanButton">
|
||||
<string key="name">scanButton</string>
|
||||
<string key="candidateClassName">UIView</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="waitView">
|
||||
<string key="name">waitView</string>
|
||||
<string key="candidateClassName">UIView</string>
|
||||
</object>
|
||||
</dictionary>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBProjectSource</string>
|
||||
<string key="minorKey">./Classes/BuschJaegerSettingsView.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">BuschJaegerStationTableViewController</string>
|
||||
<string key="superclassName">UITableViewController</string>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBProjectSource</string>
|
||||
<string key="minorKey">./Classes/BuschJaegerStationTableViewController.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">BuschJaegerWelcomeView</string>
|
||||
<string key="superclassName">UIViewController</string>
|
||||
<dictionary class="NSMutableDictionary" key="actions">
|
||||
<string key="historyClick:">id</string>
|
||||
<string key="settingsClick:">id</string>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="actionInfosByName">
|
||||
<object class="IBActionInfo" key="historyClick:">
|
||||
<string key="name">historyClick:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
<object class="IBActionInfo" key="settingsClick:">
|
||||
<string key="name">settingsClick:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="outlets">
|
||||
<string key="historyButton">UIButton</string>
|
||||
<string key="settingsButton">UIButton</string>
|
||||
<string key="tableController">BuschJaegerStationTableViewController</string>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
|
||||
<object class="IBToOneOutletInfo" key="historyButton">
|
||||
<string key="name">historyButton</string>
|
||||
<string key="candidateClassName">UIButton</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="settingsButton">
|
||||
<string key="name">settingsButton</string>
|
||||
<string key="candidateClassName">UIButton</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="tableController">
|
||||
<string key="name">tableController</string>
|
||||
<string key="candidateClassName">BuschJaegerStationTableViewController</string>
|
||||
</object>
|
||||
</dictionary>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBProjectSource</string>
|
||||
<string key="minorKey">./Classes/BuschJaegerWelcomeView.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">LinphoneAppDelegate</string>
|
||||
<string key="superclassName">NSObject</string>
|
||||
|
|
@ -128,16 +587,75 @@
|
|||
<string key="minorKey">./Classes/LinphoneAppDelegate.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">UIDigitButton</string>
|
||||
<string key="superclassName">UILongTouchButton</string>
|
||||
<object class="NSMutableDictionary" key="outlets">
|
||||
<string key="NS.key.0">addressField</string>
|
||||
<string key="NS.object.0">UITextField</string>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="toOneOutletInfosByName">
|
||||
<string key="NS.key.0">addressField</string>
|
||||
<object class="IBToOneOutletInfo" key="NS.object.0">
|
||||
<string key="name">addressField</string>
|
||||
<string key="candidateClassName">UITextField</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBProjectSource</string>
|
||||
<string key="minorKey">./Classes/UIDigitButton.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">UIHangUpButton</string>
|
||||
<string key="superclassName">UIButton</string>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBProjectSource</string>
|
||||
<string key="minorKey">./Classes/UIHangUpButton.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">UILongTouchButton</string>
|
||||
<string key="superclassName">UIButton</string>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBProjectSource</string>
|
||||
<string key="minorKey">./Classes/UILongTouchButton.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">UINavigationControllerEx</string>
|
||||
<string key="superclassName">UINavigationController</string>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBProjectSource</string>
|
||||
<string key="minorKey">./Classes/UINavigationControllerEx.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">UIRemoteImageView</string>
|
||||
<string key="superclassName">UIImageView</string>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBProjectSource</string>
|
||||
<string key="minorKey">./Classes/UIRemoteImageView.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">UIToggleButton</string>
|
||||
<string key="superclassName">UIButton</string>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBProjectSource</string>
|
||||
<string key="minorKey">./Classes/UIToggleButton.h</string>
|
||||
</object>
|
||||
</object>
|
||||
</array>
|
||||
</object>
|
||||
<int key="IBDocument.localizationMode">0</int>
|
||||
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
|
||||
<real value="1296" key="NS.object.0"/>
|
||||
<real value="1536" key="NS.object.0"/>
|
||||
</object>
|
||||
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
|
||||
<int key="IBDocument.defaultPropertyAccessControl">3</int>
|
||||
<string key="IBCocoaTouchPluginVersion">1498</string>
|
||||
<string key="IBCocoaTouchPluginVersion">1926</string>
|
||||
</data>
|
||||
</archive>
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
*/
|
||||
|
||||
#import "BuschJaegerCallView.h"
|
||||
#import "BuschJaegerMainView.h"
|
||||
#import "BuschJaegerUtils.h"
|
||||
#include "linphonecore.h"
|
||||
#import <QuartzCore/QuartzCore.h>
|
||||
|
|
@ -145,11 +146,6 @@
|
|||
// e.g. self.myOutlet = nil;
|
||||
}
|
||||
|
||||
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
|
||||
// Return YES for supported orientations
|
||||
return (interfaceOrientation == UIInterfaceOrientationPortrait);
|
||||
}
|
||||
|
||||
- (void)viewWillAppear:(BOOL)animated {
|
||||
[super viewWillAppear:animated];
|
||||
|
||||
|
|
@ -194,16 +190,20 @@
|
|||
LinphoneCallState state = (call != NULL)?linphone_call_get_state(call): 0;
|
||||
[self callUpdate:call state:state animated:FALSE];
|
||||
|
||||
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self
|
||||
selector:@selector(orientationDidChange:)
|
||||
name:UIDeviceOrientationDidChangeNotification
|
||||
object:nil];
|
||||
[[UIDevice currentDevice] beginGeneratingDeviceOrientationNotifications];
|
||||
[self orientationUpdate:[[UIDevice currentDevice] orientation]];
|
||||
[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationFade];
|
||||
[[BuschJaegerMainView instance].navigationController setNavigationBarHidden:FALSE];
|
||||
[[BuschJaegerMainView instance].navigationController setNavigationBarHidden:TRUE];
|
||||
if (![LinphoneManager runningOnIpad]) {
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self
|
||||
selector:@selector(orientationDidChange:)
|
||||
name:UIDeviceOrientationDidChangeNotification
|
||||
object:nil];
|
||||
[[UIDevice currentDevice] beginGeneratingDeviceOrientationNotifications];
|
||||
[self orientationUpdate:[[UIDevice currentDevice] orientation]];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)vieWillDisappear:(BOOL)animated{
|
||||
- (void)viewWillDisappear:(BOOL)animated{
|
||||
[super viewWillDisappear:animated];
|
||||
|
||||
// Remove observer
|
||||
|
|
@ -211,11 +211,14 @@
|
|||
name:kLinphoneCallUpdate
|
||||
object:nil];
|
||||
|
||||
[[UIDevice currentDevice] endGeneratingDeviceOrientationNotifications];
|
||||
|
||||
[[NSNotificationCenter defaultCenter] removeObserver:self
|
||||
name:UIDeviceOrientationDidChangeNotification
|
||||
object:nil];
|
||||
[[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation:UIStatusBarAnimationFade];
|
||||
if (![LinphoneManager runningOnIpad]) {
|
||||
[[UIDevice currentDevice] endGeneratingDeviceOrientationNotifications];
|
||||
|
||||
[[NSNotificationCenter defaultCenter] removeObserver:self
|
||||
name:UIDeviceOrientationDidChangeNotification
|
||||
object:nil];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -237,24 +240,24 @@
|
|||
- (void)orientationUpdate:(UIInterfaceOrientation)orientation {
|
||||
[UIView beginAnimations:nil context:nil];
|
||||
[UIView setAnimationDuration:0.3f];
|
||||
CGRect frame = [videoView frame];
|
||||
CGRect frame = [self.view frame];
|
||||
switch (orientation) {
|
||||
case UIInterfaceOrientationPortrait:
|
||||
[videoView setTransform: CGAffineTransformMakeRotation(0)];
|
||||
[self.view setTransform: CGAffineTransformMakeRotation(0)];
|
||||
break;
|
||||
case UIInterfaceOrientationPortraitUpsideDown:
|
||||
[videoView setTransform: CGAffineTransformMakeRotation(M_PI)];
|
||||
[self.view setTransform: CGAffineTransformMakeRotation(M_PI)];
|
||||
break;
|
||||
case UIInterfaceOrientationLandscapeLeft:
|
||||
[videoView setTransform: CGAffineTransformMakeRotation(-M_PI / 2)];
|
||||
[self.view setTransform: CGAffineTransformMakeRotation(-M_PI / 2)];
|
||||
break;
|
||||
case UIInterfaceOrientationLandscapeRight:
|
||||
[videoView setTransform: CGAffineTransformMakeRotation(M_PI / 2)];
|
||||
[self.view setTransform: CGAffineTransformMakeRotation(M_PI / 2)];
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
[videoView setFrame:frame];
|
||||
[self.view setFrame:frame];
|
||||
[UIView commitAnimations];
|
||||
}
|
||||
|
||||
|
|
@ -421,4 +424,20 @@
|
|||
}
|
||||
}
|
||||
|
||||
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
|
||||
if ([LinphoneManager runningOnIpad]) {
|
||||
return YES;
|
||||
} else {
|
||||
return [super shouldAutorotateToInterfaceOrientation:interfaceOrientation];
|
||||
}
|
||||
}
|
||||
|
||||
- (NSUInteger)supportedInterfaceOrientations {
|
||||
if ([LinphoneManager runningOnIpad]) {
|
||||
return UIInterfaceOrientationMaskAll;
|
||||
} else {
|
||||
return [super supportedInterfaceOrientations];
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
|||
|
|
@ -123,6 +123,22 @@
|
|||
[fullscreenView setHidden:TRUE];
|
||||
}
|
||||
|
||||
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
|
||||
if ([LinphoneManager runningOnIpad]) {
|
||||
return YES;
|
||||
} else {
|
||||
return [super shouldAutorotateToInterfaceOrientation:interfaceOrientation];
|
||||
}
|
||||
}
|
||||
|
||||
- (NSUInteger)supportedInterfaceOrientations {
|
||||
if ([LinphoneManager runningOnIpad]) {
|
||||
return UIInterfaceOrientationMaskAll;
|
||||
} else {
|
||||
return [super supportedInterfaceOrientations];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#pragma mark - Property Functions
|
||||
|
||||
|
|
@ -242,5 +258,4 @@
|
|||
[errorView release];
|
||||
}
|
||||
|
||||
|
||||
@end
|
||||
|
|
|
|||
|
|
@ -58,6 +58,21 @@
|
|||
}
|
||||
}
|
||||
|
||||
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
|
||||
if ([LinphoneManager runningOnIpad]) {
|
||||
return YES;
|
||||
} else {
|
||||
return [super shouldAutorotateToInterfaceOrientation:interfaceOrientation];
|
||||
}
|
||||
}
|
||||
|
||||
- (NSUInteger)supportedInterfaceOrientations {
|
||||
if ([LinphoneManager runningOnIpad]) {
|
||||
return UIInterfaceOrientationMaskAll;
|
||||
} else {
|
||||
return [super supportedInterfaceOrientations];
|
||||
}
|
||||
}
|
||||
|
||||
#pragma mark - Action Functions
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,8 @@
|
|||
@end
|
||||
|
||||
@interface BuschJaegerMainView : UIViewController {
|
||||
|
||||
@private
|
||||
int loadCount;
|
||||
}
|
||||
|
||||
@property (nonatomic, retain) IBOutlet UINavigationControllerEx *navigationController;
|
||||
|
|
|
|||
|
|
@ -26,8 +26,8 @@
|
|||
UIViewController *oldTopViewController = self.topViewController;
|
||||
if ([[UIDevice currentDevice].systemVersion doubleValue] < 5.0) {
|
||||
[oldTopViewController viewWillDisappear:animated];
|
||||
[viewController viewWillAppear:animated];
|
||||
}
|
||||
[viewController viewWillAppear:animated];
|
||||
[super pushViewController:viewController animated:animated];
|
||||
if ([[UIDevice currentDevice].systemVersion doubleValue] < 5.0) {
|
||||
[self.topViewController viewDidAppear:animated];
|
||||
|
|
@ -35,22 +35,35 @@
|
|||
}
|
||||
}
|
||||
|
||||
- (UIViewController *)popViewControllerAnimated:(BOOL)animated {
|
||||
- (NSArray*)popToViewController:(UIViewController *)viewController animated:(BOOL)animated {
|
||||
if ([[UIDevice currentDevice].systemVersion doubleValue] < 5.0) {
|
||||
[self.topViewController viewWillDisappear:animated];
|
||||
UIViewController *nextView = nil;
|
||||
int count = [self.viewControllers count];
|
||||
if(count > 1) {
|
||||
nextView = [self.viewControllers objectAtIndex:count - 2];
|
||||
NSMutableArray *array = [NSMutableArray array];
|
||||
while([self.viewControllers count] > 1 && self.topViewController != viewController) {
|
||||
[array addObject:[self popViewControllerAnimated:animated]];
|
||||
}
|
||||
[nextView viewWillAppear:animated];
|
||||
return array;
|
||||
}
|
||||
UIViewController * ret = [super popViewControllerAnimated:animated];
|
||||
if ([[UIDevice currentDevice].systemVersion doubleValue] < 5.0) {
|
||||
[ret viewDidDisappear:animated];
|
||||
[self.topViewController viewDidAppear:animated];
|
||||
return [super popToViewController:viewController animated:animated];
|
||||
}
|
||||
|
||||
- (UIViewController *)popViewControllerAnimated:(BOOL)animated {
|
||||
int count = [self.viewControllers count];
|
||||
if(count > 1) {
|
||||
if ([[UIDevice currentDevice].systemVersion doubleValue] < 5.0) {
|
||||
[self.topViewController viewWillDisappear:animated];
|
||||
UIViewController *nextView = nil;
|
||||
nextView = [self.viewControllers objectAtIndex:count - 2];
|
||||
|
||||
[nextView viewWillAppear:animated];
|
||||
}
|
||||
UIViewController * ret = [super popViewControllerAnimated:animated];
|
||||
if ([[UIDevice currentDevice].systemVersion doubleValue] < 5.0) {
|
||||
[ret viewDidDisappear:animated];
|
||||
[self.topViewController viewDidAppear:animated];
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
return ret;
|
||||
return nil;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
@ -74,6 +87,7 @@ static BuschJaegerMainView* mainViewInstance=nil;
|
|||
- (void)initBuschJaegerMainView {
|
||||
assert (!mainViewInstance);
|
||||
mainViewInstance = self;
|
||||
loadCount = 0;
|
||||
}
|
||||
|
||||
- (id)init {
|
||||
|
|
@ -119,16 +133,27 @@ static BuschJaegerMainView* mainViewInstance=nil;
|
|||
#pragma mark - ViewController Functions
|
||||
|
||||
- (void)viewDidLoad {
|
||||
// Avoid IOS 4 bug
|
||||
if(loadCount++ > 0)
|
||||
return;
|
||||
|
||||
[super viewDidLoad];
|
||||
|
||||
[self setWantsFullScreenLayout:TRUE];
|
||||
// [self setWantsFullScreenLayout:TRUE];
|
||||
|
||||
UIView *view = navigationController.view;
|
||||
[view setFrame:[self.view bounds]];
|
||||
// [view setFrame:[self.view bounds]];
|
||||
[self.view addSubview:view];
|
||||
[navigationController pushViewController:welcomeView animated:FALSE];
|
||||
}
|
||||
|
||||
- (void)viewDidUnload {
|
||||
[super viewDidUnload];
|
||||
|
||||
// Avoid IOS 4 bug
|
||||
loadCount--;
|
||||
}
|
||||
|
||||
- (void)viewWillAppear:(BOOL)animated {
|
||||
[super viewWillAppear:animated];
|
||||
|
||||
|
|
@ -159,8 +184,12 @@ static BuschJaegerMainView* mainViewInstance=nil;
|
|||
object:nil];
|
||||
}
|
||||
|
||||
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
|
||||
return [navigationController.topViewController shouldAutorotateToInterfaceOrientation:interfaceOrientation];
|
||||
}
|
||||
|
||||
- (NSUInteger)supportedInterfaceOrientations {
|
||||
return UIInterfaceOrientationMaskPortraitUpsideDown | UIInterfaceOrientationMaskPortrait;
|
||||
return [navigationController.topViewController supportedInterfaceOrientations];
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
|
||||
<data>
|
||||
<int key="IBDocument.SystemTarget">1536</int>
|
||||
<string key="IBDocument.SystemVersion">11G56</string>
|
||||
<string key="IBDocument.SystemVersion">11G63</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">2840</string>
|
||||
<string key="IBDocument.AppKitVersion">1138.51</string>
|
||||
<string key="IBDocument.HIToolboxVersion">569.00</string>
|
||||
|
|
@ -36,17 +36,14 @@
|
|||
</object>
|
||||
<object class="IBUIView" id="168986707">
|
||||
<reference key="NSNextResponder"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<int key="NSvFlags">301</int>
|
||||
<string key="NSFrameSize">{320, 480}</string>
|
||||
<reference key="NSSuperview"/>
|
||||
<reference key="NSWindow"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:9</string>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MQA</bytes>
|
||||
<object class="NSColorSpace" key="NSCustomColorSpace">
|
||||
<int key="NSID">2</int>
|
||||
</object>
|
||||
<bytes key="NSWhite">MAA</bytes>
|
||||
</object>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
|
|
@ -111,11 +108,13 @@
|
|||
<bool key="IBUIHorizontal">NO</bool>
|
||||
</object>
|
||||
<object class="IBUINavigationController" id="864273647">
|
||||
<bool key="IBUIAutoresizesArchivedViewToFullSize">NO</bool>
|
||||
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
|
||||
<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
|
||||
<int key="IBUIInterfaceOrientation">1</int>
|
||||
<int key="interfaceOrientation">1</int>
|
||||
</object>
|
||||
<bool key="IBUIWantsFullScreenLayout">YES</bool>
|
||||
<bool key="IBUIDefinesPresentationContext">YES</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<bool key="IBUIHorizontal">NO</bool>
|
||||
|
|
@ -331,10 +330,15 @@
|
|||
<string key="className">BuschJaegerCallView</string>
|
||||
<string key="superclassName">UIViewController</string>
|
||||
<dictionary class="NSMutableDictionary" key="actions">
|
||||
<string key="doCameraSwipe:">UISwipeGestureRecognizer</string>
|
||||
<string key="onSnapshotClick:">id</string>
|
||||
<string key="takeCall:">id</string>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="actionInfosByName">
|
||||
<object class="IBActionInfo" key="doCameraSwipe:">
|
||||
<string key="name">doCameraSwipe:</string>
|
||||
<string key="candidateClassName">UISwipeGestureRecognizer</string>
|
||||
</object>
|
||||
<object class="IBActionInfo" key="onSnapshotClick:">
|
||||
<string key="name">onSnapshotClick:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
|
|
@ -345,6 +349,8 @@
|
|||
</object>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="outlets">
|
||||
<string key="cameraLeftSwipeGestureRecognizer">UISwipeGestureRecognizer</string>
|
||||
<string key="cameraRightSwipeGestureRecognizer">UISwipeGestureRecognizer</string>
|
||||
<string key="contactLabel">UILabel</string>
|
||||
<string key="declineButton">UIHangUpButton</string>
|
||||
<string key="endOrRejectCallButton">UIHangUpButton</string>
|
||||
|
|
@ -357,6 +363,14 @@
|
|||
<string key="videoView">UIView</string>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
|
||||
<object class="IBToOneOutletInfo" key="cameraLeftSwipeGestureRecognizer">
|
||||
<string key="name">cameraLeftSwipeGestureRecognizer</string>
|
||||
<string key="candidateClassName">UISwipeGestureRecognizer</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="cameraRightSwipeGestureRecognizer">
|
||||
<string key="name">cameraRightSwipeGestureRecognizer</string>
|
||||
<string key="candidateClassName">UISwipeGestureRecognizer</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="contactLabel">
|
||||
<string key="name">contactLabel</string>
|
||||
<string key="candidateClassName">UILabel</string>
|
||||
|
|
@ -407,22 +421,21 @@
|
|||
<string key="className">BuschJaegerHistoryDetailsView</string>
|
||||
<string key="superclassName">UIViewController</string>
|
||||
<dictionary class="NSMutableDictionary" key="actions">
|
||||
<string key="doDetailsSwipe:">UISwipeGestureRecognizer</string>
|
||||
<string key="hideImage:">id</string>
|
||||
<string key="nextImage:">id</string>
|
||||
<string key="onBackClick:">id</string>
|
||||
<string key="onDeleteClick:">id</string>
|
||||
<string key="previousImage:">id</string>
|
||||
<string key="saveImage:">id</string>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="actionInfosByName">
|
||||
<object class="IBActionInfo" key="doDetailsSwipe:">
|
||||
<string key="name">doDetailsSwipe:</string>
|
||||
<string key="candidateClassName">UISwipeGestureRecognizer</string>
|
||||
</object>
|
||||
<object class="IBActionInfo" key="hideImage:">
|
||||
<string key="name">hideImage:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
<object class="IBActionInfo" key="nextImage:">
|
||||
<string key="name">nextImage:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
<object class="IBActionInfo" key="onBackClick:">
|
||||
<string key="name">onBackClick:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
|
|
@ -431,10 +444,6 @@
|
|||
<string key="name">onDeleteClick:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
<object class="IBActionInfo" key="previousImage:">
|
||||
<string key="name">previousImage:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
<object class="IBActionInfo" key="saveImage:">
|
||||
<string key="name">saveImage:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
|
|
@ -443,6 +452,9 @@
|
|||
<dictionary class="NSMutableDictionary" key="outlets">
|
||||
<string key="backButton">UIView</string>
|
||||
<string key="dateLabel">UILabel</string>
|
||||
<string key="detailsLeftSwipeGestureRecognizer">UISwipeGestureRecognizer</string>
|
||||
<string key="detailsRightSwipeGestureRecognizer">UISwipeGestureRecognizer</string>
|
||||
<string key="detailsTapGestureRecognizer">UITapGestureRecognizer</string>
|
||||
<string key="fullscreenView">UIView</string>
|
||||
<string key="imageView">UIRemoteImageView</string>
|
||||
<string key="saveButton">UIButton</string>
|
||||
|
|
@ -458,6 +470,18 @@
|
|||
<string key="name">dateLabel</string>
|
||||
<string key="candidateClassName">UILabel</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="detailsLeftSwipeGestureRecognizer">
|
||||
<string key="name">detailsLeftSwipeGestureRecognizer</string>
|
||||
<string key="candidateClassName">UISwipeGestureRecognizer</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="detailsRightSwipeGestureRecognizer">
|
||||
<string key="name">detailsRightSwipeGestureRecognizer</string>
|
||||
<string key="candidateClassName">UISwipeGestureRecognizer</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="detailsTapGestureRecognizer">
|
||||
<string key="name">detailsTapGestureRecognizer</string>
|
||||
<string key="candidateClassName">UITapGestureRecognizer</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="fullscreenView">
|
||||
<string key="name">fullscreenView</string>
|
||||
<string key="candidateClassName">UIView</string>
|
||||
|
|
@ -591,6 +615,20 @@
|
|||
<object class="IBPartialClassDescription">
|
||||
<string key="className">BuschJaegerManualSettingsView</string>
|
||||
<string key="superclassName">UIViewController</string>
|
||||
<dictionary class="NSMutableDictionary" key="actions">
|
||||
<string key="onBackClick:">id</string>
|
||||
<string key="onValidClick:">id</string>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="actionInfosByName">
|
||||
<object class="IBActionInfo" key="onBackClick:">
|
||||
<string key="name">onBackClick:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
<object class="IBActionInfo" key="onValidClick:">
|
||||
<string key="name">onValidClick:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="outlets">
|
||||
<string key="addressField">UITextField</string>
|
||||
<string key="backButton">UIView</string>
|
||||
|
|
|
|||
|
|
@ -85,6 +85,22 @@
|
|||
}
|
||||
}
|
||||
|
||||
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
|
||||
if ([LinphoneManager runningOnIpad]) {
|
||||
return YES;
|
||||
} else {
|
||||
return [super shouldAutorotateToInterfaceOrientation:interfaceOrientation];
|
||||
}
|
||||
}
|
||||
|
||||
- (NSUInteger)supportedInterfaceOrientations {
|
||||
if ([LinphoneManager runningOnIpad]) {
|
||||
return UIInterfaceOrientationMaskAll;
|
||||
} else {
|
||||
return [super supportedInterfaceOrientations];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#pragma mark - Action Functions
|
||||
|
||||
|
|
|
|||
|
|
@ -85,6 +85,22 @@
|
|||
[waitView setHidden:TRUE];
|
||||
}
|
||||
|
||||
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
|
||||
if ([LinphoneManager runningOnIpad]) {
|
||||
return YES;
|
||||
} else {
|
||||
return [super shouldAutorotateToInterfaceOrientation:interfaceOrientation];
|
||||
}
|
||||
}
|
||||
|
||||
- (NSUInteger)supportedInterfaceOrientations {
|
||||
if ([LinphoneManager runningOnIpad]) {
|
||||
return UIInterfaceOrientationMaskAll;
|
||||
} else {
|
||||
return [super supportedInterfaceOrientations];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#pragma mark - Action Functions
|
||||
|
||||
|
|
|
|||
|
|
@ -67,6 +67,22 @@
|
|||
object:nil];
|
||||
}
|
||||
|
||||
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
|
||||
if ([LinphoneManager runningOnIpad]) {
|
||||
return YES;
|
||||
} else {
|
||||
return [super shouldAutorotateToInterfaceOrientation:interfaceOrientation];
|
||||
}
|
||||
}
|
||||
|
||||
- (NSUInteger)supportedInterfaceOrientations {
|
||||
if ([LinphoneManager runningOnIpad]) {
|
||||
return UIInterfaceOrientationMaskAll;
|
||||
} else {
|
||||
return [super supportedInterfaceOrientations];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#pragma mark - Event Functions
|
||||
|
||||
|
|
|
|||
|
|
@ -202,8 +202,6 @@
|
|||
/* MODIFICATION: Change Main View
|
||||
[[PhoneMainView instance] startUp];
|
||||
*/
|
||||
[window setRootViewController:[[[BuschJaegerMainView alloc] initWithNibName:@"BuschJaegerMainView" bundle:[NSBundle mainBundle]] autorelease]];
|
||||
/**/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,13 +2,13 @@
|
|||
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
|
||||
<data>
|
||||
<int key="IBDocument.SystemTarget">1536</int>
|
||||
<string key="IBDocument.SystemVersion">12C60</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">2843</string>
|
||||
<string key="IBDocument.AppKitVersion">1187.34</string>
|
||||
<string key="IBDocument.HIToolboxVersion">625.00</string>
|
||||
<string key="IBDocument.SystemVersion">11G63</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">2840</string>
|
||||
<string key="IBDocument.AppKitVersion">1138.51</string>
|
||||
<string key="IBDocument.HIToolboxVersion">569.00</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="NS.object.0">1929</string>
|
||||
<string key="NS.object.0">1926</string>
|
||||
</object>
|
||||
<array key="IBDocument.IntegratedClassDependencies">
|
||||
<string>IBProxyObject</string>
|
||||
|
|
@ -39,7 +39,6 @@
|
|||
<object class="IBUIView" id="826575037">
|
||||
<reference key="NSNextResponder" ref="909827972"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<array class="NSMutableArray" key="NSSubviews"/>
|
||||
<string key="NSFrameSize">{320, 100}</string>
|
||||
<reference key="NSSuperview" ref="909827972"/>
|
||||
<reference key="NSWindow"/>
|
||||
|
|
@ -60,7 +59,6 @@
|
|||
<string key="NSFrame">{{146, 44}, {27, 36}}</string>
|
||||
<reference key="NSSuperview" ref="909827972"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:9</string>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
|
|
@ -247,6 +245,6 @@
|
|||
<string key="NS.key.0">bj_station.png</string>
|
||||
<string key="NS.object.0">{27, 36}</string>
|
||||
</object>
|
||||
<string key="IBCocoaTouchPluginVersion">1929</string>
|
||||
<string key="IBCocoaTouchPluginVersion">1926</string>
|
||||
</data>
|
||||
</archive>
|
||||
|
|
|
|||
|
|
@ -74,5 +74,12 @@
|
|||
<string>UIStatusBarStyleBlackOpaque</string>
|
||||
<key>UISupportedInterfaceOrientations</key>
|
||||
<array/>
|
||||
<key>UISupportedInterfaceOrientations~ipad</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue