In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly shows you the "iOS11 development in the iOS11Main.storyboard file editing interface is like", the content is easy to understand, clear, hope to help you solve the doubt, the following let the editor lead you to study and learn "iOS11 development iOS11Main.storyboard file editing interface is what kind of" this article.
1. Composition of the interface
When you click Main.storyboard to open the editing interface, you can see that the editing interface is made up of four parts, as shown in figure 1.20.
The part numbered 1 is dock. The part numbered 2 is the canvas: where the user interface is designed, the area pointed to by the arrow in the canvas is the design interface. There can be multiple design interfaces in the canvas, which is generally referred to as the scene or the main view. The section numbered 3 is the inspector of the tool pane: used to edit the properties of the currently selected object. The section numbered 4 is the library of the tool pane: if you selected Objects, there are a lot of views in it.
Figure 1.20 composition of the editing interface
Below the canvas's design interface is a small dock, which is a scaled-down version of the file manager. Dock shows the first-level controls in the scene, with at least one ViewController, one FirstReponder, and one Exit for each scene. But there can also be other controls, and dock is also used to simply connect controls, as shown in figure 1.21.
Figure 1.21 dock
two。 Add View object
If you want to display a text box on the iOS simulator, add objects to the main view. Click the Show the Object Library View Library window in the tool pane library, find the Text Field text box object inside, and drag it to the main view of the canvas, as shown in figure 1.22
Figure 1.22 adding a view object
When you run the program at this point, you will see the effect shown in figure 1.23. Tap the text box in the simulator and the keyboard will appear, and you can input the string through the keyboard, as shown in figure 1.24.
Figure 1.23 running effect figure 1.24 running effect
These are all the contents of this article entitled "what is the iOS11Main.storyboard file editing interface in iOS11 development?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.