? ??UIBarButtonItem *closeBtn = [[UIBarButtonItemalloc] initWithTitle:@"关闭"style:UIBarButtonItemStylePlaintarget:selfaction:@selector(closeAction)];
? ? UIBarButtonItem *backBtn = [[UIBarButtonItemalloc] initWithTitle:@"返回"style:UIBarButtonItemStylePlaintarget:selfaction:@selector(goBackAction)];
? ? [self.navigationItemsetLeftBarButtonItems:[NSArrayarrayWithObjects: backBtn,closeBtn ,nil]];
时间: 2024-10-05 18:20:43