cocoaTouch/DetailViewController.m
changeset 3374 0d522416d97f
parent 3364 e5403e2bf02c
child 3487 b1d00f1950c8
equal deleted inserted replaced
3373:c1ff724a5c34 3374:0d522416d97f
    41         label.text = @"Press the buttons on the left";
    41         label.text = @"Press the buttons on the left";
    42         label.font = [UIFont systemFontOfSize:20];
    42         label.font = [UIFont systemFontOfSize:20];
    43         label.textAlignment = UITextAlignmentCenter;
    43         label.textAlignment = UITextAlignmentCenter;
    44         [self.view addSubview:label];
    44         [self.view addSubview:label];
    45         [label release];
    45         [label release];
    46         
       
    47         
    46         
    48         //[self.navigationController pushViewController:nextController animated:NO];
    47         //[self.navigationController pushViewController:nextController animated:NO];
    49     } else {
    48     } else {
    50         self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone
    49         self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone
    51                                                                                               target:self
    50                                                                                               target:self