Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
Update project to include iPhone in supported devices #2
Browse files Browse the repository at this point in the history
This adds the iPhone family to target devices for the app in Xcode, and removes the "iPad" mention in the UI.
Note that Apple does not offer official pointer support on iPhone, so mice must be paired through Accessibility settings. See #2 for more discussion of the topic. iPad will remain the primary targeted device for this project.
  • Loading branch information
conath committed Aug 1, 2021
1 parent 783cda0 commit aec6433
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions PointerContinuity/PointerContinuity.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@
PRODUCT_BUNDLE_IDENTIFIER = cafe.chrisp.experimental.PointerContinuity;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 2;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
Expand All @@ -325,7 +325,7 @@
PRODUCT_BUNDLE_IDENTIFIER = cafe.chrisp.experimental.PointerContinuity;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 2;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="To experience this Demo, connect a pointing device to this iPad and click on the toggle below." textAlignment="natural" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="a5f-5H-vLw" userLabel="MouseWarningLabel">
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="To experience this Demo, connect a pointing device and click on the toggle below." textAlignment="natural" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="a5f-5H-vLw" userLabel="MouseWarningLabel">
<rect key="frame" x="20" y="45" width="984" height="17"/>
<fontDescription key="fontDescription" style="UICTFontTextStyleHeadline"/>
<nil key="textColor"/>
Expand Down
2 changes: 0 additions & 2 deletions PointerContinuity/PointerContinuity/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,8 @@
<true/>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
Expand Down

0 comments on commit aec6433

Please sign in to comment.