simulator

Xcode 9 simulator remove frames

风格不统一 提交于 2019-12-22 03:48:04
问题 The new simulator comes with the frames that make it look more like a phone in Xcode 9 beta. Is there any way to remove this frames and make it look more like the simulator in Xcode 8? 回答1: Yes there is and it was the first thing I removed. To remove the frames do the following: Click on the simulator Go to Window (top menu) Click on Show Device Bezels (which should have a checkmark on it) The simulator will now have the same look as the one in Xcode 8. 来源: https://stackoverflow.com/questions

Disable Hardware Keyboard for iOS Simulator using UIAutomation

蓝咒 提交于 2019-12-21 12:59:10
问题 I'm doing some automated tests in the iOS simulator using UIAutomation. In Xcode 6, the iOS simulator's keyboard behavior changed to be similar to a real device, and now there is a menu item to connect/disconnect your Mac's keyboard to the simulator: Hardware > Keyboard > Connect Hardware Keyboard . I don't mind this, but what happens when your Mac's keyboard is connected is that the simulator will no longer show the software keyboard. When you run a test script with UIAutomation, calls like

How do I use EXCLUDED_SOURCE_FILE_NAMES in XCode 4 (iOS)

有些话、适合烂在心里 提交于 2019-12-21 12:07:33
问题 I've found several references to a build setting in XCode called EXCLUDED_SOURCE_FILE_NAMES - the pattern below hints at how it works. But I can't figure out how to use this option in XCode (4.02). "EXCLUDED_SOURCE_FILE_NAMES[sdk=iphoneos*][arch=*]" = ... The goal is to have one or more source files compile when the target is the Simulator, and a different set of source files compile when the target is an iOS device. I figure I need to tell xcode the list of files for each target. So, how do

Required Things to start Smartcard Programming Using Javacard

こ雲淡風輕ζ 提交于 2019-12-20 23:27:25
问题 I wanted to start with the smartcard programming soon. Please help me the things required for starting the learning using javacard. Which IDE (If any IDE Supports), Software and Hardware related? Like Mobile phone simulator is there any smartcard simulator or else if I have to buy a smartcard specify those cards where and how I can get? 回答1: A general answer regarding smartcard programming is that you should be ready to navigate a confusing list of tools and technologies. Typically smartcard

Missing keyboard on iOS8 simulator?

眉间皱痕 提交于 2019-12-20 17:33:05
问题 I'm checking my app against iOS8 in the simulator and one thing that puzzles me is that when I tap on a UITextField or UITextView the keyboard doesn't appear on the screen! I can still enter text with my hardware keyboard. Also, if the input element has a inputAccessoryView, that view is shown on the bottom of the screen. So everything works as expected except that the keyboard is not appearing on the screen. This is valid for all input elements throughout the app. I don't use the new feature

App Icon not changing when app version is updated in iOS 5 simulator

牧云@^-^@ 提交于 2019-12-20 12:33:49
问题 I recently started using Xcode 4.2 and the iOS 5 simulator. When I update an older version of my app pre-installed in the simulator, it updates the app just fine but the app icon is not updated. Even with cleaning and building the app ahead of time (sometimes a couple of times) this seems to be the case. Is this a bug or am I doing something wrong? EDIT: Still the same problem, but when I quit the simulator and start it again (NOT deleting the app), the icon is updated. That's a little

Sync image from iTunes to the iPhone simulator

偶尔善良 提交于 2019-12-20 10:46:07
问题 I want to know how to sync images from iTunes to the iPhone simulator. 回答1: This worked for me with iOS4: at the simulator, click home, then click the Photos icon. Drag the image from your Mac onto the simulator screen. Then follow the instructions above: hold down the mouse click on the image until the popover comes up. Choose Save image. Verify by clicking back to Photos (on the simulator) and inspecting (the new) album "Saved Photos." 回答2: I spent a while looking into this, and my

How to simulate touch for any application in Android?

淺唱寂寞╮ 提交于 2019-12-20 09:57:32
问题 I know some similar questions have already been asked, but I think they are asking for simulating touch in their own applications, however I want to make an agent that can "use" any application. So what I want to achieve should take as a series of inputs (touch: {x1,y1}, {x2,y2}, etc) and control any application (such as Facebook) just as if a genuine user is touching that coordinate. Is there any example, or a way for this? Or an already existing question about this? Thanks for any help!

App opens and crashes on simulator using desktop Appium app

强颜欢笑 提交于 2019-12-20 06:39:33
问题 Test Environment Desktop OS/version used to run Appium:Version 1.2.0-beta.3 (1.2.0-beta.3) Node.js version (unless using Appium.app|exe): Mobile platform/version under test:ios simulator iPhone 6s plus 10.2 1.Pulled latest code from sourcetree 2.opened xcode 3.made a archive file 4.got the app file from there. 5.opened Appium desktop app 6.added the desired capabilities .{ "app": "/Users/Desktop/PreProd.app", "platformName": "iOS", "deviceName": "iPhone 6s Plus", "platformVersion": "10.2",

How do I enable the Japanese keyboard on the iPhone simulator?

风格不统一 提交于 2019-12-20 02:36:26
问题 I have a UITableview with a UISearchBar, which contain Japanese words, and I want to test if it works to search Japanese words with Japanese keyboard. I can't find how to change the default keyboard on iPhone simulator. 回答1: Open on simulator Settings application ->General->International->Language . Select here your language and keyboard will have required letters. 回答2: I think what we really want to do is add an international keyboard, not change the language of the simulator. Open Simulator