SORU
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ş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Day9TV

    Day9TV

    22 NİSAN 2010
  • New Challenger - Game Reviews

    New Challeng

    20 Temmuz 2006
  • TecnoTutosPC

    TecnoTutosPC

    19 Kasım 2012