我是一个iOS开发人员,无论如何新的,但为什么我想要点击信息按钮,然后它显示信息,但我有点击它的代码,但它进入一个空白的黑屏继承人代码
#import <UIKit/UIKit.h>
@interface FirstViewController : UIViewController
-(IBAction)infobuttonpressed:(id)sender;
@end
#import "FirstViewController.h"
#import "SecondViewController.h"
@implementation FirstViewController
-(IBAction)infobuttonpressed:(id)sender;
{
SecondViewController *Second = [[SecondViewController alloc] initWithNibName:nil bundle:nil];
Second.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self presentModalViewController:Second animated:YES];
}
谢谢,我真的很感激