A. loading of pictures: [UIImage imagenamed:@ "Home"]; Loading PNG pictures
One, non-retina screen
1, 3.5 inch (480 x)
* Home.png
Second, Retina screen
1, 3.5 inch (640 x 960)
* [Email protected]
2, 4.0 inch (640 x 1136)
* [Email protected] (automatic loading is supported if home is the startup image of the program)
Three, example (the following conditions are automatically loaded system)
1. Home is the boot image
* IPhone 1\3G\3GS-3.5 inch non-Retina:home.png
* IPhone 4\4s-3.5 inch Retina: [Email protected]
* IPhone 5\5S\5C-4.0 inch Retina: [Email protected]
2. Home is not the boot image
* IPhone 1\3G\3GS-3.5 inch non-Retina:home.png
* IPhone 4\4s-3.5 inch Retina: [Email protected]
* IPhone 5\5S\5C-4.0 inch Retina: [Email protected]
3. Summary
home.png:3.5 inch Non-retina
* [email protected]: retina
* [Email protected]: 4.0 inch retina + boot image
B.
Create a control that is invisible
1. The current control is not added to the parent control
2. Hidden = YES for the current control
3. Alpha <= of the current control 0.01
4. No size set (Frame.size, Bounds.size)
5. The position is not correct (the current control is displayed outside the window)
6. Background color is Clearcolor
7. The current control is blocked by other visible controls
8. The current control is a control that displays pictures (no picture is set \ Picture does not exist, such as Uiimageview)
9. The current control is a control that displays text (no text \ text color follows the background color, such as Uilabel, UIButton)
10. Check the first 9 cases of the parent control
A control can see, but nothing happens when clicked:
1. userinteractionenabled of the current control = NO
2. Enabled = NO for the current control
3. The current control is not within the bounds of the parent control
4. The current control is blocked by a control with a background color of clearcolor
5. Check the first 4 cases of the parent control
6 .....
The text input box is not on the main window: text input box text cannot be entered
[iOS Weibo project-1.8]-Various sizes picture loading & control not showing research