cocos 2d is not full screen in iphone & ios6 - ios6

I'm having a problem where
in ios 5 & 5.1 on the ipad the scene appears fine
but in ios 6 on the ipad & iphone 5.0 & 5.1 it appears with black edges
.. and completely black on the iphone ios6.
how do I fix this to work on the iphone & ios 6 for ipad & iphone?
here's the code I'm working with:
https://github.com/krzysztofzablocki/smooth-drawing

You need a Default-568h#2x.png image in your resources for iOS to provision the full 4 inch screen when launching the app.

There is a warning stating "Retina 4 display, Missing "Default-568h#2x.png" launch image". Click on this warning, and a message will appear stating "Would you like Xcode to add this image for you?". Click on Add and run the program.

Get the screen size from the director and replace it with the hard coded resolution for the ipad. This was you can also get it to support retina

Related

React Native Pixel Density issue with Pixel 2 XL (react-native-device-info)

Apparently when you set your device's display size to small react-native-device-info library thought that it's a tablet and according to that all the layouts and everything starting to act like tablets and my images aren't visible anymore. Does anyone having the same problem? Any suggestions?
Okay, I got it. With this new high density phones for example Google Pixel 2 XL or nexus or something like that some phone that you can change your display size to small. When you do that react native behave that your phone is a tablet and showing the tablet layout on that phone. So I actually checked some of the devices densities and there is not a single tablet over 2.0 density.
PixelRatio.get() < 2 ? DeviceInfo.isTablet : () => false
This is working for me if anyone is intrested.

Images become very light

I wonder, icons which already worked in iOS 10 is not working on iOS 11 (image become very light). While compiling through Xcode 8.3.3 is working and with Xcode 9 beta 4 it's become very light. Advice on the same.
I found that images with color description file would show welll but the images without that would show very light. Fix the images which does not have color description will solve your problem even if it is a very heavy work.
info of two images left image shows well ,right image shows very light

iPhone 5 screen size black bars

I am having problems in making my iPhone 4 (3.5 inch screen) work on iPhone 5 screen. I have already tried to import Default-568h#2x.png image for a launch image and it works properly in simulator, and when run on real device there are black bars on top and bottom of the screen. Does anybody have similar problem.
All apps that do not include the Default-568h#2x.png file are displayed in a letter box. Include the Default-568h#2x.png will make your app fill the screen on 4" retina devices.
hope this fix the issue.
You could have tested this issue in simulator itself .
There are two possible solutions for this. Listed below:
In the 'Simulated Metrics' section of UIVIew's attributes inspector, you can choose between 3,5" or 4" sizes. Choose 3,5", and make your views and subviews resizable .This will make it automatically scale your view to fit iPhone 5's screen.
2.OR you can make use of Auto Layout (constraints) with the deployment target of iOS 6+.
Hope this will solve the issue.

Strange behaviour for IOS 6 rotation

I have search the net and in the forum for two weeks. I couldn't find anything like my problem.
I have an app build on the IOS 3 and in time I made it compatible with all IOS versions.
All the app is in portrait mode and I only have one screen (a chart) which is in landscape mode. Until IOS 5 and IOS 5 also I get the beautiful rect with black edges when rotating.
On IOS 6 I see that after I rotate I get the chart Nib is being presented from the top right corner. (I can't post an image or a video to demonstrate it as it has a logo and I'm not sure it's allowed.
I am using setRootViewController at the beginning.
I attached a sketch to demonstrate.
How can I retrieve the right animation?

Can't change orientation to portrait, mobile air apps

I am developing a Blackberry PlayBook application using Flash Builder 4.6 on a Windows 7, x64 machine. I have installed the Blackberry SDK and generally can test my application with one catch - Rotate Left and Rotate Right options from the menu are grayed out. I don't have the actual tablet (and purchasing one is not a solution) so there is absolutely no way for me to test how the app behaves in the Portrait mode.
Perhaps the problem is the fact that my resolution is 1280x800 without any way to make it bigger (I had expected I'd be able to do this and would just activate the peculiar desktop scrolling mechanism). Is there any solution to this problem?
You can rotate the Playbook emulator in VMWare Player (I use Win 7, 64bit too) - by pulling its black corner with the mouse.
You can check portrait as well as landscape mode both in VMWare simulator.
Playbook OS is designed in that manner to support development on both resolutions , if you have 1280 x 800 resolution you can access right most part by using scroll bar in Vmware tool.
BB Playbook os is designed with some predefined features. like in bottom if you use gesture from left most bottom to right , it will open virtual keyboard , & if you will do the same from right most bottom to left , just like swipe down event . it will change the orientation to landscape to portrait or vice versa.

Resources