Permalink
Browse files

Web view is now landscape freindly.

  • Loading branch information...
1 parent f76c432 commit e65b5403a515ae67cbe7a46ac753f1ed8b7037b3 @Squeegy committed Jan 14, 2009
Showing with 41 additions and 21 deletions.
  1. +1 −1 Classes/ExternalWebViewController.m
  2. +22 −8 ExternalWebViewController.xib
  3. +18 −12 LatestChatty.xcodeproj/project.pbxproj
@@ -52,7 +52,7 @@ - (void)viewDidLoad {
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
// Return YES for supported orientations
- return (interfaceOrientation == UIInterfaceOrientationPortrait);
+ return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);
}
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
-<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.02">
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.03">
<data>
<int key="IBDocument.SystemTarget">512</int>
- <string key="IBDocument.SystemVersion">9E17</string>
- <string key="IBDocument.InterfaceBuilderVersion">670</string>
- <string key="IBDocument.AppKitVersion">949.33</string>
- <string key="IBDocument.HIToolboxVersion">352.00</string>
+ <string key="IBDocument.SystemVersion">9G55</string>
+ <string key="IBDocument.InterfaceBuilderVersion">677</string>
+ <string key="IBDocument.AppKitVersion">949.43</string>
+ <string key="IBDocument.HIToolboxVersion">353.00</string>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
<integer value="1"/>
@@ -14,6 +14,15 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</object>
+ <object class="NSMutableDictionary" key="IBDocument.Metadata">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBProxyObject" id="372490531">
@@ -24,13 +33,13 @@
</object>
<object class="IBUIView" id="191373211">
<reference key="NSNextResponder"/>
- <int key="NSvFlags">292</int>
+ <int key="NSvFlags">274</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBUIToolbar" id="10291295">
<reference key="NSNextResponder" ref="191373211"/>
<int key="NSvFlags">266</int>
- <string key="NSFrame">{{0, 372}, {320, 44}}</string>
+ <string key="NSFrame">{{-1, 372}, {320, 44}}</string>
<reference key="NSSuperview" ref="191373211"/>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
@@ -98,7 +107,10 @@
<int key="NSvFlags">274</int>
<string key="NSFrameSize">{320, 372}</string>
<reference key="NSSuperview" ref="191373211"/>
- <bool key="IBUIOpaque">NO</bool>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MQA</bytes>
+ </object>
<bool key="IBUIClipsSubviews">YES</bool>
<bool key="IBUIMultipleTouchEnabled">YES</bool>
<bool key="IBUIScalesPageToFit">YES</bool>
@@ -418,6 +430,7 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMutableArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <string>backButton:</string>
<string>chat:</string>
<string>dragonDrop:</string>
<string>openInSafari:</string>
@@ -427,6 +440,7 @@
<string>id</string>
<string>id</string>
<string>id</string>
+ <string>id</string>
</object>
</object>
<object class="NSMutableDictionary" key="outlets">
@@ -435,29 +435,33 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
- CODE_SIGN_IDENTITY = "Don't Code Sign";
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Don't Code Sign";
+ CODE_SIGN_IDENTITY = "iPhone Developer: Alex Wayne";
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: Alex Wayne";
COPY_PHASE_STRIP = NO;
GCC_DYNAMIC_NO_PIC = NO;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = LatestChatty_Prefix.pch;
INFOPLIST_FILE = Info.plist;
PRODUCT_NAME = LatestChatty;
+ PROVISIONING_PROFILE = "37679E7C-14AC-4EAE-9374-BD9962AAA40F";
+ "PROVISIONING_PROFILE[sdk=iphoneos*]" = "37679E7C-14AC-4EAE-9374-BD9962AAA40F";
};
name = Debug;
};
1D6058950D05DD3E006BFB54 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
- CODE_SIGN_IDENTITY = "Don't Code Sign";
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Don't Code Sign";
+ CODE_SIGN_IDENTITY = "iPhone Developer: Alex Wayne";
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: Alex Wayne";
COPY_PHASE_STRIP = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = LatestChatty_Prefix.pch;
INFOPLIST_FILE = Info.plist;
PRODUCT_NAME = LatestChatty;
+ PROVISIONING_PROFILE = "37679E7C-14AC-4EAE-9374-BD9962AAA40F";
+ "PROVISIONING_PROFILE[sdk=iphoneos*]" = "37679E7C-14AC-4EAE-9374-BD9962AAA40F";
};
name = Release;
};
@@ -474,8 +478,8 @@
ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = "-lxml2";
PREBINDING = NO;
- PROVISIONING_PROFILE = "1848511A-EC9E-4D38-AC3E-FD3EE5141859";
- "PROVISIONING_PROFILE[sdk=iphoneos*]" = "1848511A-EC9E-4D38-AC3E-FD3EE5141859";
+ PROVISIONING_PROFILE = "37679E7C-14AC-4EAE-9374-BD9962AAA40F";
+ "PROVISIONING_PROFILE[sdk=iphoneos*]" = "37679E7C-14AC-4EAE-9374-BD9962AAA40F";
SDKROOT = iphoneos2.0;
};
name = Debug;
@@ -492,8 +496,8 @@
HEADER_SEARCH_PATHS = "/usr/include/libxml2/**";
OTHER_LDFLAGS = "-lxml2";
PREBINDING = NO;
- PROVISIONING_PROFILE = "1848511A-EC9E-4D38-AC3E-FD3EE5141859";
- "PROVISIONING_PROFILE[sdk=iphoneos*]" = "1848511A-EC9E-4D38-AC3E-FD3EE5141859";
+ PROVISIONING_PROFILE = "37679E7C-14AC-4EAE-9374-BD9962AAA40F";
+ "PROVISIONING_PROFILE[sdk=iphoneos*]" = "37679E7C-14AC-4EAE-9374-BD9962AAA40F";
SDKROOT = iphoneos2.0;
};
name = Release;
@@ -510,8 +514,8 @@
HEADER_SEARCH_PATHS = "/usr/include/libxml2/**";
OTHER_LDFLAGS = "-lxml2";
PREBINDING = NO;
- PROVISIONING_PROFILE = "1848511A-EC9E-4D38-AC3E-FD3EE5141859";
- "PROVISIONING_PROFILE[sdk=iphoneos*]" = "1848511A-EC9E-4D38-AC3E-FD3EE5141859";
+ PROVISIONING_PROFILE = "37679E7C-14AC-4EAE-9374-BD9962AAA40F";
+ "PROVISIONING_PROFILE[sdk=iphoneos*]" = "37679E7C-14AC-4EAE-9374-BD9962AAA40F";
SDKROOT = iphoneos2.0;
};
name = Distribution;
@@ -520,13 +524,15 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
- CODE_SIGN_IDENTITY = "Don't Code Sign";
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Don't Code Sign";
+ CODE_SIGN_IDENTITY = "iPhone Developer: Alex Wayne";
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: Alex Wayne";
COPY_PHASE_STRIP = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = LatestChatty_Prefix.pch;
INFOPLIST_FILE = Info.plist;
PRODUCT_NAME = LatestChatty;
+ PROVISIONING_PROFILE = "37679E7C-14AC-4EAE-9374-BD9962AAA40F";
+ "PROVISIONING_PROFILE[sdk=iphoneos*]" = "37679E7C-14AC-4EAE-9374-BD9962AAA40F";
};
name = Distribution;
};

0 comments on commit e65b540

Please sign in to comment.