IOS系统调试器

  • A+
所属分类:神兵利刃

来自:https://developer.xamarin.com/guides/cross-platform/windows/ios-simulator/

Test and debug iOS apps entirely within Visual Studio Enterprise on Windows

IOS系统调试器

Download and Install

Download the installer and install on your Windows computer. Visual Studio Enterprise with Xamarin should already be installed.

Remoted iOS Simulator requires a Visual Studio Enterprise license

Getting Started

To use the remoted iOS simulator:

  1. Make sure Visual Studio has connected to your Mac at least once before starting the remoted iOS Simulator.

  2. Ensure an iOS or tvOS app is the Startup Project and start debugging.

You can disable the remoted iOS simulator from Tools > Options > Xamarin > iOS Settings by unchecking the box forRemote Simulator to Windows shown here:

IOS系统调试器

The iOS simulator will then open on the connected Mac computer. Check this option to turn the remoted iOS simulator back on.

Features

The remoted iOS Simulator provides you with a way to test and debug iOS apps on the simulator entirely from Visual Studio on Windows.

Simulator Window

The window toolbar includes a number of buttons to interact with the simulator:

  • Home – simulates the home button on the device.

  • Lock – locks the simulator (you can swipe to unlock).

  • Screenshot – saves a screenshot of the simulator to disk.

  • Settings – configure the keyboard and location.

  • Other options – a variety of simulator options are available such as rotate, shake, or invoke other states in the simulator. When some options are obscured, they can be accessed from the ellipsis icon that appears in the toolbar, or by right-clicking on the window.

IOS系统调试器

Settings

The "gear" icon opens the Settings window:

IOS系统调试器

This allows you to enable the hardware keyboard on the simulator, and choose what location is reported to the device (including a static location, or other moving location options).

Other Options

Right-click anywhere in the simulator window to view all the options available in the simulator, such as rotation, triggering a shake gesture, and rebooting the simulator:

IOS系统调试器

Touchscreen Support

Most modern Windows computers have touchscreens, and the remoted iOS simulator lets you touch the simulator window to test user interactions in your iOS app.

This includes pinching, swiping, and multiple-finger touch gestures - things that previously could only be easily tested on physical devices.

Stylus support in Windows is also translated to Apple Pencil input on the simulator.

  • 我的微信
  • 这是我的微信扫一扫
  • weinxin
  • 我的微信公众号
  • 我的微信公众号扫一扫
  • weinxin

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: