

拉伸图片处理

工具栏使用
self.navigationController.toolbarHidden = NO;
self.toolbarItems = @[space,item1,spaceItem,item2];
工具栏添加空白符
UIBarButtonItem *spaceItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemFlexibleSpace target:nil action:nil];
self.toolbarItems = @[item1,spaceItem,item2,spaceItem,item3];
网友评论