Close now!!!!!

This commit is contained in:
Max Hunt 2019-06-15 15:19:26 +01:00
parent 8bb59994cf
commit a3c3c2261a
3 changed files with 9 additions and 0 deletions

View File

@ -26,6 +26,9 @@
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/> <viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
</view> </view>
<connections>
<outlet property="guibeScreen" destination="oNd-dx-rFl" id="RMB-aC-aTd"/>
</connections>
</viewController> </viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/> <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
</objects> </objects>
@ -525,6 +528,7 @@
<outlet property="etaLabel" destination="TUX-4j-j4B" id="jfr-9U-oct"/> <outlet property="etaLabel" destination="TUX-4j-j4B" id="jfr-9U-oct"/>
<outlet property="etaView" destination="wbi-cI-xnq" id="pXR-sx-Wgh"/> <outlet property="etaView" destination="wbi-cI-xnq" id="pXR-sx-Wgh"/>
<outlet property="headingButton" destination="hPs-7x-Bl0" id="TEs-2a-UCP"/> <outlet property="headingButton" destination="hPs-7x-Bl0" id="TEs-2a-UCP"/>
<outlet property="howToUseGuibeBtn" destination="4YN-LU-KP5" id="k7H-yy-WK3"/>
<outlet property="keybDismissBtn" destination="Giw-Yg-RCh" id="YE4-8g-jOa"/> <outlet property="keybDismissBtn" destination="Giw-Yg-RCh" id="YE4-8g-jOa"/>
<outlet property="mapView" destination="Bex-Mk-DDO" id="2Ww-7N-bZc"/> <outlet property="mapView" destination="Bex-Mk-DDO" id="2Ww-7N-bZc"/>
<outlet property="menuBtn" destination="m8G-AJ-moq" id="QXG-rH-6Lm"/> <outlet property="menuBtn" destination="m8G-AJ-moq" id="QXG-rH-6Lm"/>

View File

@ -46,6 +46,7 @@ class MainViewController: UIViewController, AVAudioPlayerDelegate, myProtocol {
@IBOutlet weak var menuView: UIView! @IBOutlet weak var menuView: UIView!
@IBOutlet weak var menuBtn: UIButton! @IBOutlet weak var menuBtn: UIButton!
@IBOutlet weak var dismissBtn: UIButton! @IBOutlet weak var dismissBtn: UIButton!
@IBOutlet weak var howToUseGuibeBtn: UIView!
// --------------------- // ---------------------
@IBOutlet weak var searchBarBg: UIButton! @IBOutlet weak var searchBarBg: UIButton!
@IBOutlet weak var searchView: UIView! @IBOutlet weak var searchView: UIView!
@ -222,6 +223,7 @@ class MainViewController: UIViewController, AVAudioPlayerDelegate, myProtocol {
mapView.accessibilityElementsHidden = true mapView.accessibilityElementsHidden = true
startNaviImg.accessibilityLabel = "Follow the vibe" startNaviImg.accessibilityLabel = "Follow the vibe"
arrivedAtDestinationBtn.accessibilityLabel = "End Navigation" arrivedAtDestinationBtn.accessibilityLabel = "End Navigation"
howToUseGuibeBtn.accessibilityLabel = "this is How to use geibe"
} //END OF VIEW DID LOAD } //END OF VIEW DID LOAD

View File

@ -10,11 +10,14 @@ import UIKit
class ViewController: UIViewController { class ViewController: UIViewController {
@IBOutlet weak var guibeScreen: UIImageView!
let defaults = UserDefaults.standard let defaults = UserDefaults.standard
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
guibeScreen.accessibilityLabel = "geibe"
let setupDone = defaults.integer(forKey: "setupDone") let setupDone = defaults.integer(forKey: "setupDone")
if setupDone != 2 { if setupDone != 2 {