Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/39.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone 邮件撰写模块在ios6中停止工作_Iphone_Xcode_Sdk_Ios6 - Fatal编程技术网

Iphone 邮件撰写模块在ios6中停止工作

Iphone 邮件撰写模块在ios6中停止工作,iphone,xcode,sdk,ios6,Iphone,Xcode,Sdk,Ios6,我有一个应用程序是我不久前开发的,它使用了邮件撰写模块,并且工作正常,但是,一旦我升级到iOS6,它就停止工作了。这是我在my.h中的代码: #import <UIKit/UIKit.h> #import <MessageUi/MFMailComposeViewController.h> @interface SecondViewController : UIViewController <MFMailComposeViewControllerDelegate&g

我有一个应用程序是我不久前开发的,它使用了邮件撰写模块,并且工作正常,但是,一旦我升级到iOS6,它就停止工作了。这是我在my.h中的代码:

#import <UIKit/UIKit.h>
#import <MessageUi/MFMailComposeViewController.h>

@interface SecondViewController : UIViewController <MFMailComposeViewControllerDelegate>

-(IBAction)email;

@end

有人知道是什么导致它断裂吗?

尝试添加此语句

composer.wantsFullScreenLayout = YES;

尝试添加此语句

composer.wantsFullScreenLayout = YES;

请查看以下链接:-


  • 实现此功能后,请不要忘记在iPhone 5的
    设置中设置您的帐户。请添加您的邮件帐户。这将起作用,如果仍然面临任何问题,请回复我。

    请查看以下链接:-


  • 实现此功能后,请不要忘记在iPhone 5的
    设置中设置您的帐户。请添加您的邮件帐户。这将起作用,如果仍然面临任何问题,将回复我。

    一个小提示将“tel:”模式更改为
    tel:01748826265
    ,而不使用
    /
    。iPhone 5可能无法理解模式中的
    /
    。[自我解除ModalViewController激活:是];去掉这个。可能您正在演示并立即关闭视图。一个小提示将“tel:”模式更改为
    tel:01748826265
    ,而不使用
    /
    。iPhone 5可能无法理解模式中的
    /
    。[自我解除ModalViewController激活:是];去掉这个。可能您正在演示并立即关闭视图。请添加一些解释性文字,使其成为有用的答案。请添加一些解释性文字,使其成为有用的答案。