The display is stuck on zoomed in. I did a clean install Xcode install and it's still broken.
I just updated to the Xcode 6.2 Beta and it works on the retina display of my macbook. Unfortunately it just shows a white screen on my main monitor ...
Maybe the want to force me to use the MB screen as a simulator display ;-)
Having the same issue since the Yosemite beta update.
It's definitely not a permanent fix but moving the simulator to a screen with a different pixel scale factor makes the simulator usable on one or another of the screens.
Related
I've recently updated my iOS app project for Xcode 9 and iPhone X and have a very strange problem.
The app, which looked good when built with Xcode 8.3.3, now looks all blurry. Fonts are not longer crisp.
The app is iPhone only and the target platform for the app is iOS 9.
I've noticed that the only device the app still looks good on is the "iPhone mode" (little sreen in the middle) of an iPad Air.
It seems as if some weird scaling effect is happening in the background but I can't figure out what it is.
I've tried setting the frames of labels with CGRectIntegral() method, to insure OK coordinates, but it did not change.
If you are noticing this behavior in the simulator, it's likely that you enabled Physical Size scaling. Go to Window and select Pixel Accurate to disable this function.
I have recently upgraded Xcode 6.1.1 to 6.4. The simulators in 6.4 has large screen sizes. Even though I used scaling, the simulator become smaller as well as the screen also got small with respect to simulator. I have tried using different scaling sizes (75,50,33,25)% and also performed "Reset content and settings" option of iOS simulators.
Thanks in Advance.
Since a few days ago, my iOS Simulator has only been showing the bottom left part of the screen, as you can see in this screen shot:
iOS Simulator
It makes no difference if I am in an App or not, it's always only the bottom left which is shown. I don't know what caused it or since when exactly I had this issue. I am on the latest OS X 10.10.2 beta seed, and the issue exists on both Xcode 6.1.1 and the latest 6.2 beta, and on the simulators 7.1, 8.1 and 8.2 beta.
Here are things I've already tried:
"Reset content and settings" from the iOS Simulator menu
Scale -> 100%, 75% and 50%, all with the same issue
Delete DerivedData and other Xcode caches
Delete all Simulator-Devices and recreate them from Xcode
Use resizable Simulator
Restart Xcode, the Simulator and my rMBP
Combinations of all of the above
Had the same problem with XCode8, OS8 and OS9.
Goto Window > Scale and check 100%. iPhone will become full screen again, iPhone sice however might be larger than your computer screen.
It used to work properly, with 100% as well as 50%. Then I did not use the simulator for some time but only the console, having moved the simulator almost out of site. Now I need it but realize that instead of an iPhone surface just a regular window is shown, like in this thread:
XCode iPhone simulator does not look like an iPhone
I read lots of proposal I found on the web to this problem and followed the advices.
So I changed the size to 100%, tried different iPhone devices. And finally I deleted the Xcode application from the application folder and removed all remaining items by putting in the order
sudo /Library/uninstall-devtools --mode=all
into the terminal.
I downloaded Xcode again.
The problem is still there.
The very strange thing about it: It did work properly when I installed Xcode for the first time, about 6 weeks ago.
As far as I know it depends on the deployment target whether the simulator shows the iPhone frame or not. I think if you set iOS 7 as the target you won't be able to see the iPhone image around your app screen. (For example, I have never seen an iPhone image in the simulator for a 4'' device.)
Try changing the deployment target and play around with different devices under Hardware / Device in the simulator.
Edit:
Here is a more detailed answer.
It's one of the replies to the question that you linked.
You better select your simulator and set Hardware -> Device -> iPhone
Note 1: If you want the simulator should looks like iPhone do not select the retina simulator.
Note 2: You must check the target version of you app in xcode it must be below 7.0
Note 3: Keep the scale of simulator always 100%.
Are you sure the current project you're working on is an iOS and not an OS X project? You can verify this be looking at the project's folder. If the app ist for OS X, there is most likely a .xib file. If it's a iOS project, there should be a storyboard file.
As the OS X apps use windows, like the one you described, this could be a hint.
I have found the solution for the problem I had (and other users as well):
At PREFERENCES / DOWNLOADS older versions of the iOS simulator are available. While at the moment the current version is 7.0 (beginning January 2014), versions 6.0 and 6.1 are being offered for download.
After downloading I could chose more devices than with version 7.0. Now also the non-Retina iPhone is available.
As a result, the iPhone surface is being displayed when set to 100% (at WINDOW - SIZE).
Thanks to everyone helping!
I've noticed a few weird things about the simulator in Xcode 4.3.1.
1) The simulator is now too big to fit on my screen and I have to scroll up and down while testing my App. I have a 13" Macbook and it used to resize it to fit my screen which was much more convenient.
2) Option clicking used to allow me to test multitouch gestures but it does not do anything in the simulator after installing 4.3.1. I can still test multitouch gestures in the iPhone simulator though.
Any help or insight into these two issues would be appreciated. Is it just me experiencing this or is it a common issue. Is what I am experiencing a bug or a "feature"?
Same here on my old Macbook, I had to go to Window->Scale: 50% and now it's reasonable.
As iPad Simulator does not auto-rotate on default, I'll just add this: Also make sure to simulate rotation for iPad Simulator, to get iPad display to fit horziontal: Cmd & → (or ←).