This commit is contained in:
wu736139669
2015-06-28 13:29:35 +08:00
parent 0afa62bac0
commit a743fcc5d0
@@ -13,6 +13,7 @@
#import "AppDelegate.h" #import "AppDelegate.h"
#import "FeedbackViewController.h" #import "FeedbackViewController.h"
#import "LoginViewModel.h" #import "LoginViewModel.h"
#import "MessageSetViewController.h"
@interface SetUpViewController ()<UIAlertViewDelegate> @interface SetUpViewController ()<UIAlertViewDelegate>
@end @end
@@ -155,6 +156,11 @@
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{ {
[tableView deselectRowAtIndexPath:indexPath animated:YES]; [tableView deselectRowAtIndexPath:indexPath animated:YES];
if (indexPath.section == 0) {
[self goMessageSet];
return;
}
switch (indexPath.row) { switch (indexPath.row) {
case 0: case 0:
[self cleanCache]; [self cleanCache];
@@ -188,7 +194,12 @@
} }
} }
#pragma mark 跳到App Store评价 #pragma mark 跳到App Store评价
-(void)goMessageSet
{
MessageSetViewController* messageSetViewController = [[MessageSetViewController alloc] init];
messageSetViewController.hidesBottomBarWhenPushed = YES;
[self.navigationController pushViewController:messageSetViewController animated:YES];
}
-(void)goFeedback -(void)goFeedback
{ {
FeedbackViewController* feedbackViewController = [[FeedbackViewController alloc] init]; FeedbackViewController* feedbackViewController = [[FeedbackViewController alloc] init];