Bug in Unity 4.6 concerning canvases? (iPhone 5/iPhone 5s) - unity3d

Stackoverflowish question: Is my issue here a bug, or can this be fixed somehow?
Bear with me now but I'm gonna post a couple of screenshots that will show how I think there's a weird bug that only (?) affects iPhone 5 and iPhone 5s.
Confirmed affected: iPhone 5, iPhone 5s
Confirmed not affected: Unity editor, iPhone 6 Plus
Not tested: all other devices
Project zip: https://dl.dropboxusercontent.com/u/147970342/stackoverflow/testcanvasbuginunity.zip
Using Unity 4.6 release. (4.6.0f3)
This is the expected outcome when playing in Unity Editor.
This is the equally correct outcome (screenshot taken runtime with Xcode) when running on iPhone 6 Plus (no 5.5 inch launch image used).
This is the incorrect outcome (screenshot taken runtime with Xcode) on iPhone 5s/iPhone 5. Notice how the "canvaswithincanvasGame" is incorrectly positioned.
Now, this test app can be rotated to landscape mode and then back to portrait, if you do that this is the outcome. The "canvaswithincanvasGame" is now correctly positioned.
Now I'll just post the hierarchy and the setup of each canvas below for you to find the culprit, if any.

Related

Xcode 6 iPhone simulator running in the wrong resolution

I am currently working on a spritekit project for school, and the resources we've got handed out, are made for the iPhone 4s resolution. I used my physical iPad mini retina, for the previous exercises, and it seems that after I did that, the resolution of the simulator has changed to the iPad resolution.
I've asked my classmates, and teacher and none of us cannot figure out why.
Rep too low for image. When I run the iPhone simulator for the iPhone 4S, the resolution displayed is 1024x768.
If closing the Simulator and Xcode doesn't fix it, try changing the simulated device type manually from the Simulator menu.
Try setting iOS Simulator Window->Scale to 50%, this seems to have fixed the issue for me for almost all my simulators. Preview of iOS 6 Simulator below.

Displaying wrong height in 4-inch iPhone simulator

I'm using Xcode 4.6.3 and my storyboard looks like this ,
When I run the app in any other hardware configuration (All sizes, iPhones and iPads) it works perfectly except the 4-inch retina. It cuts off at the top and at the bottom.
When i press home on the simulator the home-screen and the rest looks normal
I'm completely baffled by what can cause this and i don't have an actual device with that size to test on.
Anyone with this problem in xcode 5 (with your Default-568h#2x.png already included) may want to try creating an Asset collection - it fixed it for me (it also fixed a problem I had of icons and launch images not updating in the simulator)!

iOS 5 and iOS 6 - UIWebView difference in behaviour

I am testing some HTML code on UIWebView. And am also wishing to support both iOS 5.x and iOS 6.x. But there seems to be a problem about font size associated with iOS 6.x only.
That is, under rotation, iOS 5.x would make fonts slightly smaller when changing to portrait from landscape mode (which is desirable, since portrait's width is shorter). However, UIWebView in iOS 6.x would do just the opposite.
The problem does not come up when the same HTML code is rendered in iOS Safari (both 5.x and 6.x), as font size always scales as expected during rotation.
It could be something I've missed about UIWebView, hope somebody knowledgable could help to explain this.
Also, the above problem comes up on my iPhone 5 iOS 6.1 test device. Please comment if you do or don't find any similar problem. Wish to know if it is only associated with this particular phone (or its settings) only.
Latest Update :
The above problem should be related to how the project (which started long before iOS 6 was available) is laid out. As have set up a new test project with a UIWebView and a UIView in some different basic setups, and the text autosizing during rotation seems to be ok in both ios 5 & 6. The above problem may be due to custom layout adjustment code used which is good only in iOS 5. Really wish there were more compatibility between the 2 ios versions.
Please use the viewpoint setting to see the difference in ios 5 and ios 6

ipod touch 2nd generation issues ui overlapping

I was facing issues in ipod touch devices when build with ios 5. It actually messes up the entire screen and all the textbox, labels, buttons displayed in the bottom of the screen and after scrolling up and down, everything gets aligned properly.
I have same issue in iphone, i just did the following setting and it did worked with same ios sdk (armv6armv7, with no optimization level none).
Have you guys faced similar issues ? iPod touch 2nd generation is the only problem now. Do you have any suggestions for fixing this up ?
or is this a ios problem ?
I had the same problem and I did the same changes as you to solve it. Just make sure you also change it for Distribution and Release too (I made that mistake).
As for the iPod touch 2G - that doesn't support iOS 5. Are you looking specifically about supporting iOS 5 on an iPod touch 2G? If so, according to Apple, you don't have to.

Flash iPhone app pixelated once displayed on iPhone4

I have made the app in the larger resolution for iPhone4, and when I test it in 3GS it works/looks fine, the app scales DOWN accordingly. But when I test app on iPhone 4 it appears for reason to scale it down and then back up again creating a pixelated look. This applies to vector assets and text within the flash project as well which is even weirder in my opinion. My SWF is 640x920px.
According to this post support for retina-display graphics is not yet supported. The two output sizes are either low-resolution iPhone or iPad. To wit:
The current version of PFI produces apps that run at 320x480 on iphones and ipods or 1024x768 on ipads. Support for 964x480 is something we're looking into adding for a future release.