细节微调;

This commit is contained in:
xuemh
2018-08-07 21:08:59 +08:00
parent 330928c09f
commit 37b3ce32d5
6 changed files with 19 additions and 2 deletions
@@ -8,6 +8,7 @@
#import "SettingResetViewController.h"
#import "IFishHotpotUDPHelper.h"
#import "ConnectHotspotTipViewController.h"
@interface SettingResetViewController ()<IFishHotpotUDPHelperDelegate>
@@ -20,10 +21,15 @@
self.title = @"恢复出厂设置";
}
- (IBAction)reset:(id)sender {
[IFishHotpotUDPHelper sharedInstance].delegate = self;
[[IFishHotpotUDPHelper sharedInstance] broadCastRestCommand];
}
- (IBAction)tipBtnClicked:(id)sender {
ConnectHotspotTipViewController *vc = [[ConnectHotspotTipViewController alloc] initWithNibName:nil bundle:nil];
[self.navigationController pushViewController:vc animated:YES];
}
#pragma mark - IFishHotpotUDPHelperDelegate