From a3c3c2261acbd446682d1f6c95128142c6236780 Mon Sep 17 00:00:00 2001 From: Max Hunt Date: Sat, 15 Jun 2019 15:19:26 +0100 Subject: [PATCH] Close now!!!!! --- Guibe/Base.lproj/Main.storyboard | 4 ++++ Guibe/MainViewController.swift | 2 ++ Guibe/ViewController.swift | 3 +++ 3 files changed, 9 insertions(+) diff --git a/Guibe/Base.lproj/Main.storyboard b/Guibe/Base.lproj/Main.storyboard index eabf2b1..23046b4 100644 --- a/Guibe/Base.lproj/Main.storyboard +++ b/Guibe/Base.lproj/Main.storyboard @@ -26,6 +26,9 @@ + + + @@ -525,6 +528,7 @@ + diff --git a/Guibe/MainViewController.swift b/Guibe/MainViewController.swift index c8096fa..d881fd2 100644 --- a/Guibe/MainViewController.swift +++ b/Guibe/MainViewController.swift @@ -46,6 +46,7 @@ class MainViewController: UIViewController, AVAudioPlayerDelegate, myProtocol { @IBOutlet weak var menuView: UIView! @IBOutlet weak var menuBtn: UIButton! @IBOutlet weak var dismissBtn: UIButton! + @IBOutlet weak var howToUseGuibeBtn: UIView! // --------------------- @IBOutlet weak var searchBarBg: UIButton! @IBOutlet weak var searchView: UIView! @@ -222,6 +223,7 @@ class MainViewController: UIViewController, AVAudioPlayerDelegate, myProtocol { mapView.accessibilityElementsHidden = true startNaviImg.accessibilityLabel = "Follow the vibe" arrivedAtDestinationBtn.accessibilityLabel = "End Navigation" + howToUseGuibeBtn.accessibilityLabel = "this is How to use geibe" } //END OF VIEW DID LOAD diff --git a/Guibe/ViewController.swift b/Guibe/ViewController.swift index 2b30d8d..4ab282d 100644 --- a/Guibe/ViewController.swift +++ b/Guibe/ViewController.swift @@ -10,11 +10,14 @@ import UIKit class ViewController: UIViewController { + @IBOutlet weak var guibeScreen: UIImageView! let defaults = UserDefaults.standard override func viewDidLoad() { super.viewDidLoad() + guibeScreen.accessibilityLabel = "geibe" + let setupDone = defaults.integer(forKey: "setupDone") if setupDone != 2 {