I know what a UIView
is but not a UIViewController
. I just want to know what I could use it for, and what it is compared to a UIView
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- how do you prevent page scroll in textarea on mobi
- Custom UITableview cell accessibility not working
相关文章
- Could I create “Call” button in HTML 5 IPhone appl
- Unable to process app at this time due to a genera
- How do you detect key up / key down events from a
- “Storyboard.storyboard” could not be opened
- Open iOS 11 Files app via URL Scheme or some other
- Can keyboard of type UIKeyboardTypeNamePhonePad be
- Can not export audiofiles via “open in:” from Voic
- XCode 4.5 giving me “SenTestingKit/SenTestKit.h” f
Basically you need to know, what is model-view-controller architecture in the software engineering field, the
UIView
corresponds to view of this architecture andUIViewController
is at controller side of this architecture.Now
UIViewController
can be thought as an agent that controls (and has the implementations of methods) the events and design of theUIView
that is shown on the screen. Anything you want to change on the view can be written inside a method in its controller class, that inherits itself fromUIViewController
class. That is only the brief description of this big concept. For details you should look for the above link.