I have a UIViewController which has been rendered modely. UIViewController is inside a UINavigationController.
// Implement ViewDidLoad to do additional setup after loading the view, usually from any nibb. - (zero) viewDidoadload [[Super Viewedload]; SaveButton = [[UIBarButtonItem alloc] initWithTitle: @ "Save" Style: UIBarButtonItemStyleBordered Target: Self Operation: @selector (saveButtonClicked :)]; Self.navigationItem.rightBarButtonItem = saveButton; Self.navigationController.navigationBar.txtColor = [UIColor colorWithRed: (102.0 / 255.0) Green: (20.0 / 255.0) Blue: (11.0 / 255.0) Alpha: 1]; Self.title = @ "Login"; //toolbar.tintColor = [UIColor colorWithRed: (102.0 / 255.0) Green: (20.0 / 255.0) Blue: (11.0 / 255.0) Alpha: 1]; } Why do not have a save button to login and correct text with my login?
It seems that you can present the view controller instead of the navigation controller. To do this, your code should look something like this:
MyViewController * viewController = [[MyViewController alloc] init]; UINavigationController * navController = [[UINavigationController alloc] initWithRootViewController: viewController]; [Self current model visual controller: animated new controller: yes]; [See Controller Release]; [Navinter release];
Comments
Post a Comment