UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];

[button setImage:buttonImage forState:UIControlStateNormal];

button.frame = CGRectMake(0, 0, 45, 45);

[button addTarget:self action:@selector(back) forControlEvents:UIControlEventTouchUpInside];

UIBarButtonItem *customBarItem = [[UIBarButtonItem alloc] initWithCustomView:button];

self.navigationItem.leftBarButtonItem = customBarItem;

Posted by tenn
,




http://stackoverflow.com/questions/2658738/the-simplest-way-to-resize-an-uiimage

Posted by tenn
,


webView.scrollView.scrollEnabled = NO; 
webView.scrollView.bounces = NO;


http://stackoverflow.com/questions/6437911/disable-scroll-on-a-uiwebview-allowed



Posted by tenn
,