文字修改

This commit is contained in:
weilu 2019-08-16 14:49:06 +08:00
parent 99718f6af2
commit 0921367fc0

View File

@ -91,11 +91,11 @@
return;
}
if (self.isFlashOn) {
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"Flash Off"
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"关闭闪光灯"
style:UIBarButtonItemStylePlain
target:self action:@selector(toggle)];
} else {
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"Flash On"
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"开启闪光灯"
style:UIBarButtonItemStylePlain
target:self action:@selector(toggle)];
}