MFMailComposer 视图不适合我的应用程序的颜色主题
有谁知道我们如何在不显示 MFMailComposerView 的情况下发送邮件?
或者
有什么方法可以在 MFMailComposerView 上添加背景图像吗?
我尝试更改背景颜色。它不起作用。 我唯一能做的就是更改导航栏色调颜色
代码:
MFMailComposeViewController *picker = [[MFMailComposeViewController alloc] init];
picker.mailComposeDelegate = self;
picker.navigationBar.tintColor=[UIColor blackColor];
picker.view.backgroundColor=[UIColor brownColor];
提前致谢!
Does anyone know how can we send mail without presenting the MFMailComposerView?
OR
Is there any way I can add a background image on the MFMailComposerView?
I tried changing the backgroud color. it doesn't work.
Only thing i could do was change the navigationBar Tint color
Code:
MFMailComposeViewController *picker = [[MFMailComposeViewController alloc] init];
picker.mailComposeDelegate = self;
picker.navigationBar.tintColor=[UIColor blackColor];
picker.view.backgroundColor=[UIColor brownColor];
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
来自苹果文档:
From the apple documentation:
我认为不可能,或者即使可能,也可能会被AppStore拒绝。
I don't think it's possible, or even if possible, it would be probably rejected by AppStore.