Cocos Builder Landscalpe UI shows up Portrait in IOS 6.1 simulator - cocosbuilder

I have made UI using Cocos builder in landscape mode. UI appears in landscape mode when I run the project in iphoneOS 5.0 simulator. When I run the same xCode project, UI shows shows up in portrait when the device is actually in landscape mode. How can I fix this problem?
Simulator screenshot for OS 6.0:
Simulator screenshot for OS 5.0:

When we created our project, we decided to use Cocos Builder. More than week I tried to adjust it and to start using but as to me it became sad when I saw that default builder examples are shown crooked. I do not recommend you to use cocos builder.

Related

iOS Simulator "Inner" Resolution

I saw the resolution questions:
iOS simulator for iPhone 5- 1136 x 640 resolution
I have done
react-native run-ios --simulator 'iPad Pro (9.7 inch)'
I even went to "Hardware" menu and selected the device again.
My app launches in dimensions of tablet, however the contents within are not rightly sized, it is hugely zoomed. I fixed this accidentally before but I cannot figure it out now. Here is a screenshot of my situation:
It seems like you are running a zoomed in iPhone app (which is possible to do on iPad, so the simulator does what it's supposed to do). You need to set the app from iPhone to Universal in Xcode to tell it that your app is targeted for iPad as well.

WinObjC orientation issue

I'm trying to convert an iOS project to Windows 10, it compiles and links successfully, the binary starts, but the app is not well oriented: my app is in landscape on iPad, but on Windows 10 all the UI is rotated by 90°...
I've no idea on how to fix that.

Xcode 6.1 - Map View appears blank in iOS7 simulator or iPhone 4

Since I last updated to Xcode 6.1 and Yosemite, the map views in my app started to appear blank either in ios7.1 simulator or my iPhone4 (iOS7.1).
I could replicate the situation by creating a brand new single view application with just a MKMapView and although it appears correctly in iOS8 simulators, in the iOS7.1 simulators or my iPhone4 it shows only a blank screen. The iOS Deployment Target is set to iOS 7.1.
I tested this simple app in a friend's Mac with Mavericks but the same situation occurs.
Is this some bug of Xcode 6.1 or SDK, or do I have to add something to run maps on iOS7?
I faced the same problem. To fix it, you have to disable Size Classes. Go to Storyboard and in the right sidebar, you should see a check box saying 'Use Size Classes' under 'Interface builder document'. Untick it and you should see the map again.
Read this to find out why this happens:
iOS MkMapView blank after moving to Xcode 6

iOS app with iphone target only (non-universal) renders fine on ipad iOS7 but not on ipad iOS8

When I run my targeted iphone app on an ipad with iOS7, it renders in iphone mode and this is exactly what I want. In fact, when I print the size of the window bounds, it correctly prints out 320 x 480. However, when I run the same app on an ipad with iOS8, the app goes into full screen mode as the window bounds are now 1024 x 768.
Do you know how I can restrict the iOS8 ipad to render the app as an iphone only app and not a full screen ipad app?
NOTE: I did my testing on the same iPad device before and after the upgrade from iOS7 to iOS8. I'm also consistently able to repro this with the ipad simulators
This might be caused from a known bug in XCODE-6 that is fixed in XCODE-6.1 beta. If you are using the storyboard launch file, the iOS 8 iPad will not be scaled from iPhone mode, but will be treated as an actual iPad. To fix the bug, use static launch images by hitting use asset catalog on the following screen in the target options, general tab:
After this, make sure to have your static launch images uploaded to the .xcassets, or update to xcode 6.1 beta to fix the issue.

interface orientation in iOS6

I have to make some changes in an existing app. That app was last update in June when iOS6.0 was not launched. I am wondering how the orientation works properly on the devices running with iOS6.0?? As that build contains deprecated methods of oreintation?
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
This method doesnt get called in iOS6.0 then how that app in app store is working fine in iOS6 devices? Additionally if i run this app from xcode using its code, then it doesnt support orientation for iOS6. Now my client is saying app on app store is working fine with orientation in all the devices and the new build is not supporting orientation. I know I can fix this issue by using new methods for orientation
-(BOOL)shouldAutoRotate
but just curious to know how older app is working fine on iOS6 devices using deprecated methods when those method are not even getting called in when i run it using xcode.
The older applications were compiled using iOS 5.x SDK, that's why they can run fine on iOS 6, the problem occurs when you compile non iOS 6 compliant code with iOS 6.x SDK.