当使用UIBarButtonItem的时候,跳转到第二个ViewController的时候,第二个ViewController会自动在UIBarButtonItem中显示上个ViewController的标题
想要去除这个文字需要在第一个ViewController中加入如下代码
[[UIBarButtonItem appearance]setBackButtonTitlePositionAdjustment:UIOffsetMake(0, -60)forBarMetrics:UIBarMetricsDefault];