Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/120.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/27.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
Ios UIButton->;从第一页到第三页非附件邮件主题行的文本_Ios_Objective C_Uibutton - Fatal编程技术网

Ios UIButton->;从第一页到第三页非附件邮件主题行的文本

Ios UIButton->;从第一页到第三页非附件邮件主题行的文本,ios,objective-c,uibutton,Ios,Objective C,Uibutton,好的,这是我第一页的所有资料 roadside.h #import <UIKit/UIKit.h> #import <MessageUI/MessageUI.h> #import "SecondView.h" @interface RoadsideViewController : UIViewController <MFMailComposeViewControllerDelegate> { //here SecondView *flattireDa

好的,这是我第一页的所有资料

roadside.h

#import <UIKit/UIKit.h>
#import <MessageUI/MessageUI.h>
#import "SecondView.h"


@interface RoadsideViewController : UIViewController
<MFMailComposeViewControllerDelegate>


{
//here
SecondView *flattireData;
IBOutlet UILabel *flattire;

IBOutlet UIImageView *AnitmationimageView;
IBOutlet UIImageView *Loadimageview;


}

//here
@property (nonatomic, retain) SecondView *flattireData;


- (IBAction)SecondView:(id)sender;

-(void)delay1;
-(void)delay2;
-(void)delay3;

@property (nonatomic, strong) MFMailComposeViewController *myMail;
@end





roadside.m

#import "RoadsideViewController.h"
#import "SecondView.h"
#import "ThirdView.h"


@interface RoadsideViewController ()

@end

@implementation RoadsideViewController
@synthesize myMail;

//here
@synthesize flattireData;



- (void)viewDidLoad
{
    [super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.

AnitmationimageView.animationImages = [NSArray arrayWithObjects:
                                   [UIImage imageNamed:@"0.png"],
                                   [UIImage imageNamed:@"17.png"],
                                   [UIImage imageNamed:@"34.png"],
                                   [UIImage imageNamed:@"51.png"],
                                   [UIImage imageNamed:@"68.png"],
                                   [UIImage imageNamed:@"85.png"],
                                   [UIImage imageNamed:@"102.png"],
                                   [UIImage imageNamed:@"119.png"],
                                   [UIImage imageNamed:@"136.png"],
                                   [UIImage imageNamed:@"153.png"],
                                   [UIImage imageNamed:@"170.png"],
                                   [UIImage imageNamed:@"187.png"],
                                   [UIImage imageNamed:@"204.png"],
                                   [UIImage imageNamed:@"221.png"],
                                   [UIImage imageNamed:@"238.png"],
                                   [UIImage imageNamed:@"260.png"],
                                   [UIImage imageNamed:@"277.png"],
                                   [UIImage imageNamed:@"294.png"],
                                   [UIImage imageNamed:@"311.png"],
                                   [UIImage imageNamed:@"329.png"],
                                   [UIImage imageNamed:@"346.png"],
                                   [UIImage imageNamed:@"363.png"],
                                   [UIImage imageNamed:@"381.png"],
                                   [UIImage imageNamed:@"398.png"],
                                   [UIImage imageNamed:@"415.png"],
                                   [UIImage imageNamed:@"432.png"],
                                   [UIImage imageNamed:@"450.png"],
                                   [UIImage imageNamed:@"467.png"],
                                   [UIImage imageNamed:@"484.png"],
                                   [UIImage imageNamed:@"502.png"],
                                   [UIImage imageNamed:@"519.png"],
                                   [UIImage imageNamed:@"536.png"],
                                   [UIImage imageNamed:@"554.png"],
                                   [UIImage imageNamed:@"571.png"],
                                   [UIImage imageNamed:@"588.png"],
                                   [UIImage imageNamed:@"605.png"],
                                   [UIImage imageNamed:@"623.png"],
                                   [UIImage imageNamed:@"640.png"],
                                   [UIImage imageNamed:@"x426a.png"],
                                   [UIImage imageNamed:@"x443a.png"],
                                   [UIImage imageNamed:@"x461a.png"],
                                   [UIImage imageNamed:@"x478a.png"],
                                   [UIImage imageNamed:@"x496a.png"],
                                   [UIImage imageNamed:@"x512a.png"],
                                   [UIImage imageNamed:@"x530a.png"],
                                   [UIImage imageNamed:@"x547a.png"],
                                   [UIImage imageNamed:@"x564a.png"],
                                   [UIImage imageNamed:@"x582a.png"],
                                   [UIImage imageNamed:@"x599a.png"],
                                   [UIImage imageNamed:@"x616a.png"],
                                   [UIImage imageNamed:@"x633a.png"],
                                   [UIImage imageNamed:@"x639a.png"],
                                   [UIImage imageNamed:@"x639a.png"],
                                   [UIImage imageNamed:@"x639a.png"],
                                   [UIImage imageNamed:@"x639a.png"],
                                   [UIImage imageNamed:@"x639a.png"],
                                   [UIImage imageNamed:@"x639a.png"],
                                   [UIImage imageNamed:@"x639a.png"],
                                   [UIImage imageNamed:@"x639a.png"],
                                   [UIImage imageNamed:@"x639a.png"],
                                   [UIImage imageNamed:@"x639a.png"],
                                   [UIImage imageNamed:@"x639a.png"],
                                   [UIImage imageNamed:@"x639a.png"],
                                   [UIImage imageNamed:@"x640a.png"],
                                   [UIImage imageNamed:@"x640a.png"],
                                   [UIImage imageNamed:@"x640a.png"],
                                   [UIImage imageNamed:@"x640a.png"],
                                   [UIImage imageNamed:@"x640a.png"],
                                   [UIImage imageNamed:@"x640a.png"],
                                   [UIImage imageNamed:@"x640a.png"],
                                   [UIImage imageNamed:@"x640a.png"],
                                   [UIImage imageNamed:@"x640a.png"],
                                   [UIImage imageNamed:@"x640a.png"],
                                   [UIImage imageNamed:@"x640a.png"],
                                   [UIImage imageNamed:@"x640a.png"],
                                   [UIImage imageNamed:@"x640a.png"],
                                   [UIImage imageNamed:@"x640a.png"],
                                   [UIImage imageNamed:@"x640a.png"],
                                   [UIImage imageNamed:@"x640a.png"],
                                   [UIImage imageNamed:@"x640a.png"],

                                   nil];
[AnitmationimageView setAnimationRepeatCount:1];
 AnitmationimageView.animationDuration = 2.0;
[AnitmationimageView startAnimating];
[self performSelector:@selector(delay1) withObject:nil afterDelay:2.5];


}

- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}

-(void)delay1 {
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.3];
[AnitmationimageView setAlpha:0];
[UIView commitAnimations];
[self performSelector:@selector(delay2) withObject:nil afterDelay:2.0];
}
-(void)delay2 {
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:1.0];
[Loadimageview setAlpha:1];
[UIView commitAnimations];
[self performSelector:@selector(delay3) withObject:nil afterDelay:1.5];

}

-(void)delay3 {
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:1.0];
[Loadimageview setAlpha:0];
[UIView commitAnimations];
}



- (IBAction)SecondView:(id)sender {
SecondView *second =[[SecondView alloc] initWithNibName:nil bundle:nil];

//here
flattire.text = @"Flat Tire";


self.flattireData = second;
flattireData.flatTire = flattire.text;



[self presentViewController:second animated:YES completion:NULL];
}
@end
路边.h
#进口
#进口
#导入“SecondView.h”
@界面RoadsideViewController:UIViewController
{
//这里
第二视图*flattireData;
IBUILABEL*充气轮胎;
IBUIImageView*AnitmationimageView;
IBUIImageView*Loadimageview;
}
//这里
@属性(非原子,保留)SecondView*flattireData;
-(iAction)第二视图:(id)发送方;
-(无效)延迟1;
-(无效)延迟2;
-(无效)延迟3;
@属性(非原子,强)MFMailComposeViewController*myMail;
@结束
路边
#导入“RoadsideViewController.h”
#导入“SecondView.h”
#导入“ThirdView.h”
@接口RoadsideViewController()
@结束
@RoadsideViewController的实现
@综合我的邮件;
//这里
@合成flattireData;
-(无效)viewDidLoad
{
[超级视图下载];
//加载视图后,通常从nib执行任何其他设置。
AnitmationimageView.animationImages=[NSArray arrayWithObjects:
[UIImage ImageName:@“0.png”],
[UIImage ImageName:@“17.png”],
[UIImage ImageName:@“34.png”],
[UIImage ImageName:@“51.png”],
[UIImage ImageName:@“68.png”],
[UIImage ImageName:@“85.png”],
[UIImage ImageName:@“102.png”],
[UIImage ImageName:@“119.png”],
[UIImage ImageName:@“136.png”],
[UIImage ImageName:@“153.png”],
[UIImage ImageName:@“170.png”],
[UIImage ImageName:@“187.png”],
[UIImage ImageName:@“204.png”],
[UIImage ImageName:@“221.png”],
[UIImage ImageName:@“238.png”],
[UIImage ImageName:@“260.png”],
[UIImage ImageName:@“277.png”],
[UIImage ImageName:@“294.png”],
[UIImage ImageName:@“311.png”],
[UIImage ImageName:@“329.png”],
[UIImage ImageName:@“346.png”],
[UIImage ImageName:@“363.png”],
[UIImage ImageName:@“381.png”],
[UIImage ImageName:@“398.png”],
[UIImage ImageName:@“415.png”],
[UIImage ImageName:@“432.png”],
[UIImage ImageName:@“450.png”],
[UIImage ImageName:@“467.png”],
[UIImage ImageName:@“484.png”],
[UIImage ImageName:@“502.png”],
[UIImage ImageName:@“519.png”],
[UIImage ImageName:@“536.png”],
[UIImage ImageName:@“554.png”],
[UIImage ImageName:@“571.png”],
[UIImage ImageName:@“588.png”],
[UIImage ImageName:@“605.png”],
[UIImage ImageName:@“623.png”],
[UIImage ImageName:@“640.png”],
[UIImage ImageName:@“x426a.png”],
[UIImage ImageName:@“x443a.png”],
[UIImage ImageName:@“x461a.png”],
[UIImage ImageName:@“x478a.png”],
[UIImage ImageName:@“x496a.png”],
[UIImage ImageName:@“x512a.png”],
[UIImage ImageName:@“x530a.png”],
[UIImage ImageName:@“x547a.png”],
[UIImage ImageName:@“x564a.png”],
[UIImage ImageName:@“x582a.png”],
[UIImage ImageName:@“x599a.png”],
[UIImage ImageName:@“x616a.png”],
[UIImage ImageName:@“x633a.png”],
[UIImage ImageName:@“x639a.png”],
[UIImage ImageName:@“x639a.png”],
[UIImage ImageName:@“x639a.png”],
[UIImage ImageName:@“x639a.png”],
[UIImage ImageName:@“x639a.png”],
[UIImage ImageName:@“x639a.png”],
[UIImage ImageName:@“x639a.png”],
[UIImage ImageName:@“x639a.png”],
[UIImage ImageName:@“x639a.png”],
[UIImage ImageName:@“x639a.png”],
[UIImage ImageName:@“x639a.png”],
[UIImage ImageName:@“x639a.png”],
[UIImage ImageName:@“x640a.png”],
[UIImage ImageName:@“x640a.png”],
[UIImage ImageName:@“x640a.png”],
[UIImage ImageName:@“x640a.png”],
[UIImage ImageName:@“x640a.png”],
[UIImage ImageName:@“x640a.png”],
[UIImage ImageName:@“x640a.png”],
[UIImage ImageName:@“x640a.png”],
[UIImage ImageName:@“x640a.png”],
SecondPageController *secondPage = [[SecondPageController alloc]init];
secondPage.subjectLine = @"Flat Tire";
[self PushViewController:secondPage];
ThirdPageController *thirdPage = [[ThirdPageController alloc] init];
thirdPage.subjectLine = self.subjectLine;
[self PushViewController:thirdPage];