添加热点连接入口

This commit is contained in:
xuemh
2018-07-16 22:09:07 +08:00
parent c61eac1c49
commit 054c00392f
7 changed files with 124 additions and 8 deletions
@@ -27,6 +27,9 @@
#import "IfishConnectingView.h"
#import "PushMasssageWebViewController.h"
#import "IfishUserObsever.h"
#import "ConnectHotpotViewController.h"
@interface EspTouchDelegateImpl : NSObject<ESPTouchDelegate>
@end
@@ -146,6 +149,8 @@ extern BOOL isfromCameraView;
}
self.nodImg.frame = CGRectMake(12, yOffset, 10, 10);
self.wifiNamelabel.frame = CGRectMake(23, yOffset - 18 + 5, 336, 36);
[self.view bringSubviewToFront:self.connectTipLbl];
[self.view bringSubviewToFront:self.connectBtn];
}
-(void)viewWillAppear:(BOOL)animated{
@@ -198,6 +203,8 @@ extern BOOL isfromCameraView;
[self.view addSubview:connectingView];
self.wifiNamelabel.hidden = NO;
self.wifiTextFiled.hidden = NO;
self.connectTipLbl.hidden = NO;
self.connectBtn.hidden = NO;
self.shareButton.hidden = NO;
self.nodImg.hidden = NO;
@@ -213,6 +220,8 @@ extern BOOL isfromCameraView;
[self.connectingView.textChangeView stopAnimation];
self.wifiNamelabel.hidden = NO;
self.wifiTextFiled.hidden = NO;
self.connectTipLbl.hidden = NO;
self.connectBtn.hidden = NO;
self.shareButton.hidden = NO;
self.nodImg.hidden = NO;
@@ -238,6 +247,8 @@ extern BOOL isfromCameraView;
self.wifiNamelabel.hidden = YES;
self.wifiTextFiled.hidden = YES;
self.connectTipLbl.hidden = YES;
self.connectBtn.hidden = YES;
self.shareButton.hidden = YES;
self.nodImg.hidden = YES;
@@ -406,6 +417,11 @@ extern BOOL isfromCameraView;
}
- (IBAction)lickHereBtnClicked:(id)sender {
ConnectHotpotViewController *vc = [[ConnectHotpotViewController alloc] initWithNibName:@"ConnectHotpotViewController" bundle:nil];
[self.navigationController pushViewController:vc animated:YES];
}
- (IBAction)commandbackBtn:(id)sender {
SaySomethingViewController*say=[[SaySomethingViewController alloc]init];
[self.navigationController pushViewController:say animated:YES];