My application runs exclusively in landscape interface orientation. Testing on the iPhone Simulator, showed that the in-call status bar isn't working properly; only the top half of the status bar appears and clicking it does nothing. When I changed the application to run in portrait mode, the in-call status bar started working as expected.
I also tested this using the "HelloWorld" iPhone sample app. When run in portrait mode (i.e. sample unaltered), in-call status works fine. When I change the sample to run in landscape mode (i.e. implement shouldAutorotateToInterfaceOrientation to "return UIInterfaceOrientationIsLandscape(interfaceOrientation)"), it exhibits the same broken behavior seen in the landscape version of my application.
Has anyone else seen this behavior before?
Unfortunately I don't have a real iPhone to test this on. Can anyone verify that this bug only exist in the simulator, or does it also manifest on an actual iPhone?
Thanks lots.
A far as I know this is the correct behaviour. As the height of the screen in landscape is very small as it is it would make no sense to increase the status bar's height.
Related
A while back, when we were first testing our app, the screen used to rotate when we tilted the phone. Even if the portrait formatting wasn't so great, it still responded to the orientation change.
I have no idea what happened between that point and this, but it no longer responds to orientation changes, at all. If I tilt the phone, it stays in portrait mode and does not rotate at all, the text does not align to the new orientation.
This is across all platforms, and I have the proper settings selected for each specific platform (in iOS in the info.plist, and in Android with the MainActivity decorations.)
The one thing I did do is that moved all of my screens from StackLayout-based to FlexLayout-based. But the screen SHOULD still rotate, or at least ATTEMPT to rotate, should it not? And this happens across all screens.
So ... if I may please could get some advice about what may be happening, here, that causes this behavior across all platforms?
It should be noted that we are also using Telerik libraries for many of our controls (but I don't know why it would make a difference.)
Also, it's a shared app.
Issue solved. Rotation was locked.
I want to take screenshot of IOS app for App store submit. But the saved screenshot image dimensions is always 750 × 1334 no matter how i scale the size of simulator or change the iPhone model type, the outcome is always the same.
Solution tried:
Unchecked Optimized Rendering for Window Size, choose Physical size and save the screen shot with cmd + s.
I was try the solution above, but it is not working at all
Use the iPhone Plus simulators to get your screenshots (e.g. iPhone 6 Plus, iPhone 7 Plus, etc.). They will generate a 1242x2208 screenshot size. You are most likely using one of the non-plus simulators (e.g. the iPhone 6) since their screen size is 750x1334; they are NOT the 5.5" devices.
Installed Xcode 5 and compiled my app to use iOS 7. However when I run the simulator it only shows the screen of the phone and not the complete phone e.g. the phone body with the home button. Can continue developing my app but would like to understand where I am going wrong. Grateful for any help.
The Retina Versions of the iOS Simulator iPhone does no longer have the iPhone frame, which is kind of sad.
The only way to have the frame back is to run the App in iOS 6.1 mode of the non-Retina iPhone. But I guess, that does not make much sense...
When active simulator device and then select this option
window -> Show Device Bezels
simulator without frame
simulator with frame
In iOS Simulator, Go to Window -> Scale -> 100% or Command-1.
You can adjust the scale size as you wish using Command-2 for 75% and Command-3 for 50%
I lost the iphone frame on the simulator after I plugged into a projector. After messing around with the display settings, I finally was able to restore the iphone frame:
Go to System Preferences -> display and set it to scaled, More Space. Now in your iOS simulator, set the scale to 100% (CMD+1).
Hope that works for you too.
I think you guys need the iPhone frame to press the home button/close background tasks in simulator.
Use Cmd key+shift+H for Home button operation
Use Cmd Key+ shift+H(press H twice holding window and shift) Displays list of background tasks
Are you using the latest XCode build?
In the first Beta-version of Xcode 5, the simulator use to not show the external iPhone frame.
Now i am using macbook pro with 13 inches.
Yesterday i upgraded XCodes version to 4.3.2.
In that iPad Simulator is too big and iPad Retina Simulator is also too big.
It's not fix my screen.
iPad Retina Simulator size is take all of my screen and it's can only show iPad's dock.
I can't see overview iPad screen.
I always scroll down and up to test.
When i change Simulator's Window > Scale into 75 %, It's still too big.
50% is too small and can't see anything clearly.
When i develop with XCodes 4.2 , iPad Simulator is fix size and okay to test.
I want iPad simulator size fix my screen.
Is there anyways?
If my question is out of question, so sorry for that.
Thanks.
Maybe it's because the iPad 3 have a really large resolution (2048x1536). That's more than most computer screens. You will need to zoom out to display the entire screen just because of this, or you must get a larger (higher resolution) screen for your computer if you don't want to scale the program.
The reason for this is that the iPad 3 have much tighter pixel density than most other computer screens so each pixel on the iPad is smaller than each pixel on your computer screen.
What you can do is make the simulator start by suppressing the title bar and your dock if it happens to be shown.
Follow these steps, please be responsible and back-up your files before editing anything as I do not take responsibility for things going wrong.
Before you start close any running simulators.
In Finder Press CMD+SHIFT+G and enter the folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app/Contents/; this folder may differ for you depending on your location of the simulator/SDK.
Backup the file called Info.plist
Copy Info.plist to your home directory.
Double click Info.plist in your home directory. You will be presented with the plist editor.
Select the first entry called Information Property List and click the plus (+) sign immediately to the right.
Enter Application UI Presentation Mode into the Key field of the new entry, tip: it will auto populate after typing Application UI.
Enter 4 in the Value field, this will then change to All Suppressed.
Save and close the file.
Replace the original plist file with this new one, remember to back the original up first.
Now when you run the simulator it will not show the menu bar when it becomes active. The reason you needed to copy the file to your home directory is because you do not have write permission to it. It also stops you mucking it up and preventing the simulator running while editing the file.
You can apply this trick to any application by finding it's plist file, thus I also change Xcode.app to do this too.
You will need to scale the simulator to 75%, however it will now be almost the full height of the screen with no loss of the iPad window.
Now It's more flexible with Xcode 9- Simulator. You can pick & drag any corner or simulator to resize it and set it according to your requirement.
Look at this snapshot.
https://apple.stackexchange.com/questions/205865/ios-simulator-screen-size-not-equal-to-window-size
How to test website compatibility for iPAD without having iPAD , in both condition Portrait and landscape?
on Windows PC
also, there is another web-site: http://ipadpeek.com/
but, if you have a special css file for ipad, this site cannot show it. you should change your main css file with ipad specific one...
also, you can rotate your ipad in ipadpeek.com
edit: there is an app for looking your layout on ios device here.
You'll probably have to use a windows browser to fake the browser-agent header. This page gives more information as well as the browser agent string.
You could use Chris Pederick's User Agent Switcher in Firefox, but you won't get webkit rendering. The best option is probably to use the developer tools in Safari and change the browser agent in the Develop menu.
You should also make sure your screen size matches the iPad (1024x768 if I'm not mistaken). To test landscape, just change the screen size.
What you won't get is multitouch and gesture testing...
What are you actually trying to test? If it's just a website, that should be sufficient.