1.NSBundle
1> a nsbundle represents a folder, with NSBundle access to the corresponding folder
2> can access any resource in the software resource bundle using Mainbundle
Installation path for the 3> emulator application
/users/aplle/Resource Library/application Support/iphone simulator/7.1/applications
2.UIImageView and UIButton
1> Use occasions
* Uiimageview: If you only display pictures, do not need to listen to the image of the click
* UIButton: Both display the picture, but also listen to the image of the click
2> same: can display picture
3> different points
* UIButton can handle click events, Uiimageview cannot handle click events
* UIButton can display both picture and text
* UIButton can display two pictures at the same time
* UIButton inherits from Uicontrol, so events can be handled by default
* Uiimageview inherits from UIView, so events cannot be handled by default
IOS UI II