连接热点连接说明页面

This commit is contained in:
xuemh
2018-07-22 11:47:51 +08:00
parent 13d872579f
commit 9444a289d6
7 changed files with 143 additions and 2 deletions
@@ -6,8 +6,8 @@
// Copyright © 2018年 lianlian. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "BaseVIewContorller.h"
@interface ConnectHotpotViewController : UIViewController
@interface ConnectHotpotViewController : BaseVIewContorller
@end
@@ -7,6 +7,7 @@
//
#import "ConnectHotpotViewController.h"
#import "ConnectHotspotTipViewController.h"
@interface ConnectHotpotViewController ()<UITextFieldDelegate>
@property (weak, nonatomic) IBOutlet UIScrollView *scrollView;
@@ -69,6 +70,10 @@
}];
}
- (IBAction)clickHereBtnClicked:(id)sender {
ConnectHotspotTipViewController *vc = [[ConnectHotspotTipViewController alloc] initWithNibName:@"ConnectHotspotTipViewController" bundle:nil];
[self.navigationController pushViewController:vc animated:YES];
}
#pragma mark - UITextFieldDelegate
- (BOOL)textFieldShouldReturn:(UITextField *)textField {
@@ -72,6 +72,9 @@
<rect key="frame" x="157.5" y="103.5" width="72" height="29"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<state key="normal" title="点击此处。"/>
<connections>
<action selector="clickHereBtnClicked:" destination="-1" eventType="touchUpInside" id="fua-j5-2TE"/>
</connections>
</button>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="qEQ-pQ-mfJ" customClass="UIImageView">
<rect key="frame" x="38" y="148.5" width="299" height="1"/>
@@ -0,0 +1,13 @@
//
// ConnectHotspotTipViewController.h
// Ifish
//
// Created by Minghao Xue on 2018/7/22.
// Copyright © 2018年 lianlian. All rights reserved.
//
#import "BaseVIewContorller.h"
@interface ConnectHotspotTipViewController : BaseVIewContorller
@end
@@ -0,0 +1,38 @@
//
// ConnectHotspotTipViewController.m
// Ifish
//
// Created by Minghao Xue on 2018/7/22.
// Copyright © 2018年 lianlian. All rights reserved.
//
#import "ConnectHotspotTipViewController.h"
@interface ConnectHotspotTipViewController ()
@end
@implementation ConnectHotspotTipViewController
- (void)viewDidLoad {
[super viewDidLoad];
self.title = @"ifish7热点连接";
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
/*
#pragma mark - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
// Get the new view controller using [segue destinationViewController].
// Pass the selected object to the new view controller.
}
*/
@end
@@ -0,0 +1,72 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14109" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="ConnectHotspotTipViewController">
<connections>
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="i5M-Pr-FkT">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" showsVerticalScrollIndicator="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ga8-zb-3S0">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Knt-KR-zUe">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1、请将新产品通电" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="S5I-st-nTV">
<rect key="frame" x="20" y="28" width="335" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2、打开手机点击:设置-WIFI-选择ifish-xxxx的网络,输入密码12345678 连接好后返回爱鱼奇热点连接页面输入路由器名称和密码。" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ryL-3J-xoh">
<rect key="frame" x="20" y="57" width="335" height="81.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="S5I-st-nTV" firstAttribute="top" secondItem="Knt-KR-zUe" secondAttribute="top" constant="28" id="4BH-ol-r9i"/>
<constraint firstAttribute="trailing" secondItem="S5I-st-nTV" secondAttribute="trailing" constant="20" id="9dI-Vp-P9a"/>
<constraint firstAttribute="trailing" secondItem="ryL-3J-xoh" secondAttribute="trailing" constant="20" id="GUV-PY-RZx"/>
<constraint firstItem="ryL-3J-xoh" firstAttribute="top" secondItem="S5I-st-nTV" secondAttribute="bottom" constant="8" id="LKb-oT-XwG"/>
<constraint firstItem="ryL-3J-xoh" firstAttribute="leading" secondItem="Knt-KR-zUe" secondAttribute="leading" constant="20" id="QWr-LG-AW2"/>
<constraint firstItem="S5I-st-nTV" firstAttribute="leading" secondItem="Knt-KR-zUe" secondAttribute="leading" constant="20" id="mGn-Pq-uHv"/>
</constraints>
</view>
</subviews>
<constraints>
<constraint firstAttribute="bottom" secondItem="Knt-KR-zUe" secondAttribute="bottom" id="GNV-vS-a72"/>
<constraint firstAttribute="trailing" secondItem="Knt-KR-zUe" secondAttribute="trailing" id="rGa-Hq-4Rk"/>
<constraint firstItem="Knt-KR-zUe" firstAttribute="top" secondItem="ga8-zb-3S0" secondAttribute="top" id="tpa-kN-pSx"/>
<constraint firstItem="Knt-KR-zUe" firstAttribute="leading" secondItem="ga8-zb-3S0" secondAttribute="leading" id="wAj-iS-IDe"/>
</constraints>
</scrollView>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="Knt-KR-zUe" firstAttribute="height" secondItem="i5M-Pr-FkT" secondAttribute="height" id="L3t-S6-fSC"/>
<constraint firstItem="Knt-KR-zUe" firstAttribute="width" secondItem="i5M-Pr-FkT" secondAttribute="width" id="RKJ-Yu-txu"/>
<constraint firstItem="ga8-zb-3S0" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" id="X63-pt-sKA"/>
<constraint firstItem="ga8-zb-3S0" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="byF-Gh-KKV"/>
<constraint firstAttribute="bottom" secondItem="ga8-zb-3S0" secondAttribute="bottom" id="lza-8T-7t7"/>
<constraint firstAttribute="trailing" secondItem="ga8-zb-3S0" secondAttribute="trailing" id="xx5-Oj-iBR"/>
</constraints>
<point key="canvasLocation" x="32.5" y="76.5"/>
</view>
</objects>
</document>