【发布时间】:2018-05-22 14:54:48
【问题描述】:
代码在 Objective-C 中,我希望在不添加图像作为 src 的情况下显示箭头。 我已经完成了更改控制器时自动显示的项目。
在这里我创建了左栏按钮:
navItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"Back" style:UIBarButtonItemStylePlain target:self action:@selector(returnToPreviousScreen)];
这显示得很好并且可以按预期工作,但它没有在文本左侧显示
【问题讨论】:
标签: ios uibarbuttonitem uinavigationitem