当我尝试存档时,我收到一条警告信息,说"你的Icon.png的大小不是57X57.但是我的图像(Icon.png)正好是57X57.
存档时显示的警告消息如下
警告:iPhone/iPod Touch:Icon.png:图标尺寸(0 x 0)不符合尺寸要求.图标文件必须为57x57像素,格式为.png(-19014)无法验证您的应用程序. - (null)iPhone/iPod Touch:Icon.png:图标尺寸(0 x 0)不符合尺寸要求.图标文件必须为57x57像素,格式为.png(-19014)
任何人都可以告诉我如何删除此警告.因为有了这个警告,我无法在应用程序商店中上传
我使用以下内容来显示mailViewController
-(IBAction)sendMailbuttonTapped {
if([MFMailComposeViewController canSendMail]) {
MFMailComposeViewController *mailCont = [[MFMailComposeViewController alloc] init];
mailCont.mailComposeDelegate = self;
[mailCont setSubject:@"yo!"];
[mailCont setToRecipients:[NSArray arrayWithObject:@"surendherbtech@gmail.com"]];
[mailCont setMessageBody:@"Don't ever want to give you up" isHTML:NO];
[self presentModalViewController:mailCont animated:YES];
[mailCont release];
}
}
- (void)mailComposeController:(MFMailComposeViewController*)controller didFinishWithResult:(MFMailComposeResult)result error:(NSError*)error {
[self dismissModalViewControllerAnimated:YES];
}
Run Code Online (Sandbox Code Playgroud)
它显示良好但我现在需要的是,我希望在他点击按钮时不用用户的知识发送邮件.它必须在没有用户点击发送选项的情
任何人都可以告诉我如何自动发送邮件提前谢谢
我正在开发通用项目(iPhone/iPad),其中我使用的代码在iphone和ipad上是相同的.该代码在iphone中运行良好,而不在iPad中运行.
它返回以下错误.
dyld:未加载库:/System/Library/Frameworks/AssetsLibrary.framework/AssetsLibrary引用自:/ Users/mac/Library/Application Support/iPhone Simulator/3.2/Applications/AFE91FFD-27A4-41A9-B5AF-C4336F10A9F3/Move On鼓舞人心的Quotes.app/Move On Inspirational Quotes Reason:image not found
谁能告诉我如何解决这个错误.