at kaneshin

Free space for me.


image scale

@interface UIImage (TPAdditions) - (UIImage*)imageScaledToSize:(CGSize)size; @end @implementation UIImage (TPAdditions) - (UIImage*)imageScaledToSize:(CGSize)size { UIGraphicsBeginImageContext(size); [self drawInRect:CGRectMake(0, 0, size.…

Back to Navigation Controller

Back to Previous View Controller with Navigation Controller.Use popViewControllerAnimated. // pop previous view controlller [self.navigationController popViewControllerAnimated:YES]; // pop root view controller [self.navigationController p…

push next Navigation Controller

Push next View Controller if you use.create new View Controller. then, use pushViewController:view FooViewController *foovc = [[FooViewController alloc] init]; [self.navigationController pushViewController:foovc animated:YES];

iPhone: Setting Navigation Bar Title

objective c - iPhone: Setting Navigation Bar Title - Stack OverflowIt's simply - (void)viewDidLoad { [super viewDidLoad]; self.title = @"title"; }