iOS simulator feature introduction about Xamarin iOS development

Source: Internet
Author: User

iOS simulator feature introduction about Xamarin iOS development

Introduction to IOS Simulator features

In the run effect shown in Figure 1.38, the phone-like model you see is iOS Simulator. When you don't have an iphone or ipad device, you can use iOS Simulator to test the program. This is selected from the Xamarin iOS development combat .

IOS Simulator can mimic the functionality of a real iphone or ipad device, as shown in table 1-3.

Table 1-3 IOS Simulator


In the features shown in table 1-3, it is important to note that IOS Simulator can only implement these features, and other features are not implemented, such as making calls, sending SMS messages, acquiring location data, photographing, microphones, etc.

1. Back to Home

What if you want to exit the application shown in Figure 1.38 (a program designed to perform a specific function for a user is called an application)? At this point you need to select the "hardware | Home" command in the menu bar, the effect after exiting the application, 1.41 shows this article selected from the Xamarin iOS development combat .


Figure 1.41 exiting the application

2. Set the application's icon

As you can see in figure 1.41, when you exit the application, the icon for the application is a grid-like white icon, which is the default icon for iOS and is not used by the general developer, but instead uses the icon that you set. The steps to change the default icon are as follows:

(1) Return to the HelloWorld project, double hit open info.plist file, 1.42 is shown.


Figure 1.42 Operation Step 1

(2) Find the iOS 7 @2x under app icons, have an empty area above iOS 7 @2x, select it, pop up the Select File dialog, select an image file, click the Open button, and the selected image is shown in this blank area, 1.43.


Figure 1.43 Operation Step 2

Note: In app icons, there are three blank areas. Each blank area is different for iOS, and the content size of the display is different. The displayed content must go to meet the requirements of the blank area. For example, an empty area corresponding to IOS 7 @2x requires the contents of 120x120 to be displayed, and the selected image must be 120x120.

Click the Run button, and after the run effect exits the application, you can see the changed icon, as shown in 1.44.


Figure 1.44 Running effect

3. Rotate the screen

When explaining the features of iOS simulator, it was mentioned that it can realize the function of screen rotation, so how to rotate the iOS simulator to make the screen choice? Its implementation is actually very simple, the developer only need to hold the command key and a certain direction key at the same time, 1.45 is shown.


Figure 1.45 Rotation

4. Deleting an application

When a developer wants to delete an application on iOS simulator, the following steps can be taken:

(1) Long Press the icon for the application you want to delete, and after a while, a delete icon appears in the top left of the application you want to delete, as shown in 1.46.


Figure 1.46 Operation Step 1

(2) Click the Delete icon, a reminder dialog box will pop up, 1.47 shows.

Figure 1.47 Operation Step 2 figure 1.48 the effect after being removed 3

(3) Click the Delete button to delete this application, at this point the iOS simulator effect 1.48 shows this article selected from Xamarin iOS development combat .

iOS simulator feature introduction about Xamarin iOS development

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.