标签:
? ??UIBarButtonItem *closeBtn = [[UIBarButtonItemalloc] initWithTitle:@"关闭"style:UIBarButtonItemStylePlaintarget:selfaction:@selector(closeAction)];
? ? UIBarButtonItem *backBtn = [[UIBarButtonItemalloc] initWithTitle:@"返回"style:UIBarButtonItemStylePlaintarget:selfaction:@selector(goBackAction)];
? ? [self.navigationItemsetLeftBarButtonItems:[NSArrayarrayWithObjects: backBtn,closeBtn ,nil]];
标签:
原文地址:http://www.cnblogs.com/allen123/p/4586723.html