Before introducing the MFMessageComposeViewController try
[[UINavigationBar appearance] setBackgroundImage:[UIImage imageNamed:@"MyUINavigationBarImageClear"] forBarMetrics:UIBarMetricsDefault];
and in messageComposeViewController: didFinishWithResult: callback reset to
[[UINavigationBar appearance] setBackgroundImage:[UIImage imageNamed:@"MyUINavigationBarImageFull"] forBarMetrics:UIBarMetricsDefault];
I also set the .navigationBar.tintColor MFMessageComposeViewController property to get the cancel button according to my MyUINavigationBarImageClear image.
user1195883
source share