摘要:
Presenting and Managing Views with UIViewControllerProblemYou want to switch among different views in your application.SolutionUse the UIViewController class.(Apple’s strategy for iOS development was to use the model-view-controller (MVC) divisionof labor. Views are what get displayed to users, whil 阅读全文
posted @ 2014-02-10 20:18
Master HaKu
阅读(348)
评论(0)
推荐(0)
摘要:
You would like to present a few options to your users from which they can pick anoption, through a UI that is compact, simple, and easy to understand.effect:1. declare control#import "ViewController.h"@interface ViewController ()@property (nonatomic, strong) UISegmentedControl *mySegmented 阅读全文
posted @ 2014-02-10 19:10
Master HaKu
阅读(263)
评论(0)
推荐(0)