iOS?????????Ч?????
???????????? ???????[ 2014/11/13 14:51:58 ] ????????iOS ??????? ??????? ????
????3.???????????PPRevealSideViewController??????????
1 - (IBAction)tapItem:(id)sender {
2
3 UIStoryboard *storybaord = [UIStoryboard storyboardWithName:@"Main" bundle:[NSBundle mainBundle]];
4 UITableViewController *table = [storybaord instantiateViewControllerWithIdentifier:@"CustomViewViewController"];
5 [self.revealSideViewController pushViewController:table onDirection:PPRevealSideDirectionLeft animated:YES];
6 }
????4.???????????????????PPRevealSideViewController??????????controller
1 - (IBAction)tap1:(id)sender {
2 UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:[NSBundle mainBundle]];
3 UIViewController *one = [storyboard instantiateViewControllerWithIdentifier:@"one"];
4 [self.revealSideViewController popViewControllerWithNewCenterController:one animated:YES];
5 }
6
7 - (IBAction)tap2:(id)sender {
8
9 UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:[NSBundle mainBundle]];
10 UIViewController *one = [storyboard instantiateViewControllerWithIdentifier:@"two"];
11 [self.revealSideViewController popViewControllerWithNewCenterController:one animated:YES];
12
13 }
14
15 - (IBAction)tap3:(id)sender {
16 UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:[NSBundle mainBundle]];
17 UIViewController *one = [storyboard instantiateViewControllerWithIdentifier:@"three"];
18 [self.revealSideViewController popViewControllerWithNewCenterController:one animated:YES];
19 }
20
21 - (IBAction)tap4:(id)sender {
22 UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:[NSBundle mainBundle]];
23 UIViewController *one = [storyboard instantiateViewControllerWithIdentifier:@"four"];
24 [self.revealSideViewController popViewControllerWithNewCenterController:one animated:YES];
25 }
????5.??????淵????????????????£?
1 - (IBAction)tapPage:(id)sender {
2 UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:[NSBundle mainBundle]];
3
4 UIViewController *view = [storyboard instantiateViewControllerWithIdentifier:@"NavigationController"];
5
6 [self.revealSideViewController popViewControllerWithNewCenterController:view animated:YES];
7 }
??????.????Ч???????????????Ч?????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11