ios-simulator

Is there a way the Round Rect button to take exactly the same size of an image?

a 夏天 提交于 2019-11-27 08:17:31
问题 Is there a way the Round Rect button to take exactly the same size of an image?Are there any round buttons? I have a project with many buttons-images and they get mixed together. The images are mostly circular and the buttons Rectangular, so when I place them close to each other they get mixed. 回答1: When the iPhone detects a touch on the screen, it finds the touched view using “hit testing”. By default, hit testing assumes that each view is a rectangle. If you want hit testing to treat your

Xcode 8 simulator ios 8 image get distorted

依然范特西╮ 提交于 2019-11-27 08:06:30
问题 I just get this bug,some images on the iOS 8 simulator get distorted.iOS9,and iOS10 don't have this bug. I'm not sure that this is a Xcode 8 bug,or this is my problem. 回答1: Same here, this seems to be a valid Xcode-issue. It is only happening on iOS 8 sims and only with the latest Xcode 8 Beta 6. We should file a bugreport for this. 来源: https://stackoverflow.com/questions/38972093/xcode-8-simulator-ios-8-image-get-distorted

iOS 8 and Xcode 6 Simulator Display Out of Alignment

你。 提交于 2019-11-27 07:03:25
问题 The display is stuck on zoomed in. I did a clean install Xcode install and it's still broken. 回答1: 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 ;-) 回答2: 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

Is it possible to record actual sound on the simulator using mic

故事扮演 提交于 2019-11-27 06:55:08
问题 Is it possible record the actual sound on the simulator using the mic. I have created the recorder which record the sound in simulator but not recording the actual audio its just null(empty) audio. 回答1: iOS Simulator does not support audio recording, you should use real device to test. Here you can read about Limitations of Testing in iOS Simulator Hardware Limitations While most of the functionality of iOS devices can be simulated in iOS Simulator, there are some hardware features that must

Difference between iPhone Simulator and Android Emulator

自作多情 提交于 2019-11-27 06:40:00
What is the difference between iPhone Simulator and Android emulator? I have heard people saying that Emulator really emulates the target device which is not true in case of simulator. I think Android emulator mimics the processing speed of the target device, the memory usage, but a simulator does not emulate the device. Disclaimer: I'm only an iPhone developer, not an Android developer. You are correct, the difference between emulators and simulators is that emulators mimic the software and hardware environments found on actual devices. Simulators, on the other hand, only mimic the software

Unable to boot simulator XCode 8

纵饮孤独 提交于 2019-11-27 06:00:53
问题 I have tried all the solutions which found on stack overflow, but still not able to resolve it. Somehow its not open the simulator and gives me error "unable to boot simulator". I have reinstall 2 times xcode and also remove all simulator and add again. also change "DYLD_INSERT_LIBRARIES" to ZZ but no solution. Please help me, Thanks in Advance! 回答1: Try to turn off System Integrity Protection http://www.imore.com/el-capitan-system-integrity-protection-helps-keep-malware-away - it helped me.

Cleaning up the iPhone simulator

安稳与你 提交于 2019-11-27 05:56:45
Is there a straightforward way to clean up the directory where xcode deploys an app when building for the iPhone simulator? I have a sqlite database that gets copied into the Documents folder on startup if necessary. The problem is that I might change my schema, but the new database won't get copied, because one already exists. Ideally, every time I build, it would nuke the previous contents. Is this possible, or do I have to manually do it? PyjamaSam The simulator installs apps into: "$HOME/Library/Application Support/iPhone Simulator/User/Applications" Also check: "$HOME/Library/Developer

Storyboard won't update in simulator

一曲冷凌霜 提交于 2019-11-27 05:54:45
问题 I have a working app in Xcode , however when I try to build and run it the simulator displays an older version of the storyboard I was working on. I had changed some of the design on the storyboard but this does not reflect in the simulator, nothing is updated. Does anyone have any ideas? 回答1: Delete the App on the simulator. Clean List item Build & Run Use NSLog(@"") in your controller to check code execution. 回答2: I just spent at least 6 hours on this. I have a solution, but I also

Is it possible to disable the network in iOS Simulator?

≯℡__Kan透↙ 提交于 2019-11-27 05:45:45
I am trying to debug some inconsistent behaviour I am seeing in an application that gets its primary data from the internet. I don't see the issues in the simulator, just on the device, so I'd like to reproduce the network and connectivity environment in the simulator. Is there any way of disabling the network in the simulator? (I am connecting to the Mac remotely to code, no other choice right now, so disabling the OS network isn't an option). I'm afraid not—the simulator shares whatever network connection the OS is using. I filed a Radar bug report about simulating network conditions a while

Is it just the iPhone simulator that is restricted to Intel only Mac's?

你。 提交于 2019-11-27 05:43:42
问题 I have read that the iPhone SDK (part of Xcode 3) is restricted to Mac's with the intel chipset. Does this restriction apply to only the simulator part of the SDK or the complete shebang? I have a Powerbook G4 running Leopard and would very much like to do dev on it rather than fork out for a new machine. It is also worth clarifying that I am interested in development for personal reasons and therefore accept that I would need a certified platform to create a submission for the App Store. 回答1