22 EYLÜL 2013, Pazar
İOS 7 durum çubuğunda MFMailComposeViewController siyah
MFMailComposeViewController ile 7 Uygulama benim ios geribildirim bir düğme var. Kullanıcı tıklama sonra bu düğmeye mailcomposer açık ama statusbar siyah olarak değiştirildi. Kimsenin bir fikri ne yapabilirim?
sadece ios7 ile bu sorun var. ben ios7 için app özelleştirmek.
MFMailComposeViewController *mailController = [[MFMailComposeViewController alloc] init];
mailController.mailComposeDelegate = self;
[mailController setSubject:@"Feedback"];
// Fill out the email body tex
NSString *emailBody = [NSString stringWithFormat:@"testest"],
[UIDevice currentDevice].model,
[UIDevice currentDevice].systemVersion];
[mailController setMessageBody:emailBody isHTML:NO];
[mailController setToRecipients:[NSArray arrayWithObjects:@"support@test.com",nil]];
dispatch_async(dispatch_get_main_queue(), ^{
[self presentModalViewController:mailController animated:YES];
}
CEVAP
4 EKİM 2013, Cuma
Senin MFMailComposeViewController için presentViewController tamamlanma blok UİApplication bu statusBarStyle ayarlayın. yani
MFMailComposeViewController *mailVC = [[MFMailComposeViewController alloc] init];
[self.navigationController presentViewController:mailVC animated:YES completion:^{
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
}];
Ayrıca ve/veya küme "denetleyici tabanlı çubuğu görünümü durum" için HİÇBİR Bilgi.Görünüm eklemek gerekebilir dosya plist.
Bunu Paylaş:
Siyah metin, sadece iPhone 6 gösteren ...
Nasıl üst durum çubuğunda yükleme göst...
javascript yöntemi özel durum yakalama...
Senkronize bir madde içinde bir özel d...
Ne zaman bir özel durum için bir kuruc...