xcode - 设计/重新设计MailController / MFMailComposeViewController

时间:2013-01-13 17:20:38

标签: ios objective-c xcode mfmailcomposeviewcontroller

是否可以重新设计MFMailComposeViewController?

如何?

App Dropbox可以做到这一点。 图片:http://jonathangurebo.tumblr.com/post/40436277822

我可以更改“MessageUI.framework”吗?

1 个答案:

答案 0 :(得分:0)

要回答有关自定义应用中所有导航栏外观的请求,请在您的应用中使用此功能:didFinishLaunchingWithOptions:在您的应用代理中:

[[UINavigationBar appearance] setBackgroundImage:[UIImage imageNamed:@"image"] forBarMetrics:UIBarMetricsDefault];

        [[UINavigationBar appearance] setTintColor:[UIColor blueColor]];
        [[UINavigationBar appearance] setAlpha:1]; 
//change background image and tint color for navigation buttons

        // Set the text appearance for navbar
        [[UINavigationBar appearance] setTitleVerticalPositionAdjustment:2 forBarMetrics:UIBarMetricsDefault]; //change vertical appearance of navigation bar title
        [[UINavigationBar appearance] setTitleTextAttributes:
         [NSDictionary dictionaryWithObjectsAndKeys:
          [UIColor whiteColor], UITextAttributeTextColor,
          [UIColor clearColor], UITextAttributeTextShadowColor,
          [NSValue valueWithUIOffset:UIOffsetMake(1, 1)], UITextAttributeTextShadowOffset,
          [UIFont fontWithName:@"HelveticaNeue" size:22], UITextAttributeFont,
          nil]]; //set custom font info