ios-simulator

iPhone 6 simulator, hide keyboard issue

独自空忆成欢 提交于 2019-12-10 13:36:56
问题 Does the iPhone 6 have some new way (off-screen/hard button) to reopen a hidden soft keyboard? I don't have a physical device to test with, but I'm seeing something new in the iPhone 6 simulator that I don't see in iPad or iPhone 5. The iPhone 6, in landscape view, now has a "hide keyboard" button, like only iPad has had before. Here are the different behaviors I'm seeing, and I'm hoping it is not a new issue I need to design my apps around. Initial steps are the same in iPad and iPhone 6

Finished running <App> on iPhone 6.1 Simulator

安稳与你 提交于 2019-12-10 13:24:50
问题 I'm developing a new application for Iphone, using Xcode (Version 4.6 (4H127)) and the iPhone 6.1 simulator (Versión 6.0 (369.2)). At the beginning everything was great: every time I pressed the "run" button, the application was loaded into the simulator and I was able to test it. But sometimes it is not working: when I press the run button, I only get the message "Finished running on iPhone 6.1 Simulator". The code successfully compiles (only minor warnings). The main problem is that when I

iPad simulator multitouch input?

痞子三分冷 提交于 2019-12-10 13:10:06
问题 Does the iPad simulator support multitouch input (3 or more fingers)? 回答1: Not on a default setup (you can do two fingers by holding down opt/shift, but not three). There are some third party tools that will let you do this (http://www.vimov.com/isimulate/). As a general rule, you should be testing on hardware where possible, because there are some pretty big differences between simulator and device. 来源: https://stackoverflow.com/questions/4633908/ipad-simulator-multitouch-input

Simulate iPad using Cordova/PhoneGap emulator command

醉酒当歌 提交于 2019-12-10 12:46:45
问题 I would like to use the included ./emulator command with Cordova/PhoneGap to run my app in the iPad simulator from the command line. The basic instructions are here: http://docs.phonegap.com/en/2.2.0/guide_command-line_index.md.html I've installed the iOS simulator from here: https://github.com/phonegap/ios-sim The documentation says it supports simulating an iPad from the command line. However, it opens by default to iPhone and changing the device to "iPad" closes the app (and it is not

Is iphone simulator's brightness adjustable?

≯℡__Kan透↙ 提交于 2019-12-10 12:46:07
问题 i tried to use the most of the correct answers suggested by the users to adjust the brightness of the iphone (ie [[UIScreen mainScreen]setBrightness:0.0]; ) but the simulator didn't change its brightness. Is iphone simulator's brightness adjustable? 回答1: The iPhone simulator brightness is not adjustable, you have to try in a real device! 回答2: The iPhone simulator is not a hardware simulator. It simulates some of the hardware functions but mostly it is a simulator for iOS. You will need to

Google AdMob Ads SDK only works in simulator

好久不见. 提交于 2019-12-10 12:24:07
问题 SDK version 5.0.4, device has IOS 4.3.2. When building for the simulator, all is fine and the ads load. When changing to 'device', I get 9000+ warnings(!) "unexpected srelocation type 9" when linking the app itself. When run on a device, the app crashes ( EXC_BAD_ACCESS ) at the first call in viewDidLoad, [[GADBannerView alloc] initWithFrame] . The problem we had was that originally, we used AdWhirl to serve the old AdMob (nee Google Admob) ads. When using the proper non-test AdWhirl account,

Downloading and adding ios 5 simulator to the xcode 4.5 and monotouch without xcode components

拜拜、爱过 提交于 2019-12-10 12:11:53
问题 I want to download and install ios simulator 5 on my xcode and monotouch. I know that we can add it from xcode components by installing ios simulator 5 or 5.1 but my these days my internet connection is crazy :( it disconnect, also is very also on the xcode component. Do any body have a link for download the emulator manually and add it to the xcode and mono-touch offline? 回答1: Don't think there a direct link for Xcode components for a safe alternative approach install DownThemAll in Firefox

Manipulate app permissions on iOS 8 simulator

孤人 提交于 2019-12-10 12:06:56
问题 Same question as this one, but for iOS 8. While running xctests, how can I make sure permissions are granted/denied programmatically? Is the same TCC.db used? If so, as there are no $HOME/Library/Application Support/iPhone Simulator/8.x directories, where has it moved to? 回答1: Thanks to username tbd, the TCC.db is still in use, but is now located at $HOME/Library/Developer/CoreSimulator/Devices/$DEVICEID/data/Library/TCC/ Schema of the "access" table is the same. NSArray *paths =

TabBarController within the RootViewController of a SplitViewController

主宰稳场 提交于 2019-12-10 11:56:42
问题 I'd like to develop an iPad app which would be composed of a SplitViewController . I'd like to add a TabBarController in the RootViewController. I'm at the very beginning of the development. So I've started to simply create a new project, add a SplitViewController via Interface Builder and test the app, no problem of course. Then I've tried to add the TabBarController to the RootView, no problem either via the Interface Builder . The problem I have there is that I can't make the app rotate

Xcode 8 Simulator crash

血红的双手。 提交于 2019-12-10 11:08:11
问题 I recently downloaded the Xcode 8 beta. When I try to open the simulator, it gets stuck on the black Apple screen and I get a crash message for "SpringBoard". Any ideas? I'm happy to edit if I left out anything. Thanks in advance! 回答1: This is a known issue that is mentioned in the release notes and is related to issues in the download and install process. If you don't follow the installation instructions exactly, you can trip over this issue. The workaround is rather straight forward: Using