ProMotion 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,15 @@
|
|
1
1
|
module ProMotion
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
class NavigationController < UINavigationController
|
3
|
+
def shouldAutorotate
|
4
|
+
visibleViewController.shouldAutorotate
|
5
|
+
end
|
6
|
+
|
7
|
+
def supportedInterfaceOrientations
|
8
|
+
visibleViewController.supportedInterfaceOrientations
|
9
|
+
end
|
10
|
+
|
11
|
+
def preferredInterfaceOrientationForPresentation
|
12
|
+
visibleViewController.preferredInterfaceOrientationForPresentation
|
13
|
+
end
|
14
|
+
end
|
7
15
|
end
|
@@ -16,6 +16,7 @@ module ProMotion
|
|
16
16
|
|
17
17
|
# Workaround for now. Will display a NoMethodError, but ignore.
|
18
18
|
super rescue true
|
19
|
+
PM.logger.info "You can ignore the NoMethodError -- this is a RubyMotion bug that should be fixed soon."
|
19
20
|
end
|
20
21
|
|
21
22
|
def applicationWillTerminate(application)
|
data/lib/ProMotion/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ProMotion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2013-06-
|
14
|
+
date: 2013-06-06 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: motion-stump
|