01.
#import "PageViewController2.h"
02.
#import "PageViewController3.h"
03.
04.
@interface
PageViewController2 ()
05.
06.
@end
07.
08.
@implementation
PageViewController2
09.
10.
- (
void
)viewDidLoad
11.
{
12.
[
super
viewDidLoad];
13.
14.
}
15.
16.
- (
void
)didReceiveMemoryWarning
17.
{
18.
[
super
didReceiveMemoryWarning];
19.
20.
}
21.
22.
- (
IBAction
)btnBack:(
id
)sender {
23.
[
self
dismissViewControllerAnimated:
YES
completion:
NULL
];
24.
}
25.
26.
- (
IBAction
)GotoView3:(
id
)sender {
27.
PageViewController3 *view3 = [[PageViewController3 alloc] initWithNibName:
nil
bundle:
nil
];
28.
[
self
presentViewController:view3 animated:
NO
completion:
NULL
];
29.
}
30.
@end