Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2be89eb

Browse filesBrowse files
committed
Allow only portrait orientation
1 parent 35828df commit 2be89eb
Copy full SHA for 2be89eb

2 files changed

+9-7Lines changed: 9 additions & 7 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Demo/DemoProject/Info.plist‎

Copy file name to clipboardExpand all lines: Demo/DemoProject/Info.plist
+5-7Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5-
<key>UIAppFonts</key>
6-
<array>
7-
<string>DIN Condensed Bold.ttf</string>
8-
<string>DIN Alternate Bold.ttf</string>
9-
</array>
105
<key>CFBundleDevelopmentRegion</key>
116
<string>en</string>
127
<key>CFBundleExecutable</key>
@@ -27,6 +22,11 @@
2722
<string>1</string>
2823
<key>LSRequiresIPhoneOS</key>
2924
<true/>
25+
<key>UIAppFonts</key>
26+
<array>
27+
<string>DIN Condensed Bold.ttf</string>
28+
<string>DIN Alternate Bold.ttf</string>
29+
</array>
3030
<key>UILaunchStoryboardName</key>
3131
<string>LaunchScreen</string>
3232
<key>UIMainStoryboardFile</key>
@@ -38,8 +38,6 @@
3838
<key>UISupportedInterfaceOrientations</key>
3939
<array>
4040
<string>UIInterfaceOrientationPortrait</string>
41-
<string>UIInterfaceOrientationLandscapeLeft</string>
42-
<string>UIInterfaceOrientationLandscapeRight</string>
4341
</array>
4442
</dict>
4543
</plist>
Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ The component is implemented in Swift 2.0
2121

2222
EatFit requires ARC.
2323

24+
## Supported orientations
25+
26+
EatFit supports only portrait orientation.
27+
2428
## Thread Safety
2529

2630
EatFit is subclassed from UIView and - as with all UIKit components - it should only be accessed from the main thread. You may wish to use threads for loading or updating EatFit contents or items, but always ensure that once your content has loaded, you switch back to the main thread before updating the EatFit.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.