From a175e2944292bb21fe5fce5ac2d1b66b8b013461 Mon Sep 17 00:00:00 2001 From: Max Hunt Date: Wed, 3 Jul 2019 23:37:40 +0100 Subject: [PATCH] this is bullshit --- Guibe.xcodeproj/project.pbxproj | 6 +- .../xcshareddata/xcschemes/Guibe.xcscheme | 13 +- Guibe/3_StartViewController.swift | 1 + Guibe/5_HandChoiceViewController.swift | 2 + Guibe/6_SideChoiceViewController.swift | 2 + Guibe/7_ReadyViewController.swift | 1 + Guibe/AudioInstrViewController.swift | 1 + Guibe/Base.lproj/Main.storyboard | 121 +++++++++--------- Guibe/GameLearnViewController.swift | 1 + Guibe/MainViewController.swift | 9 ++ Guibe/ViewController.swift | 4 + 11 files changed, 87 insertions(+), 74 deletions(-) diff --git a/Guibe.xcodeproj/project.pbxproj b/Guibe.xcodeproj/project.pbxproj index c338da1..4843203 100644 --- a/Guibe.xcodeproj/project.pbxproj +++ b/Guibe.xcodeproj/project.pbxproj @@ -437,11 +437,12 @@ CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = T87U8Q4BB3; INFOPLIST_FILE = Guibe/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = icl.8.Guibes; + PRODUCT_BUNDLE_IDENTIFIER = icl.8.Guibe2; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 1; @@ -455,11 +456,12 @@ CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = T87U8Q4BB3; INFOPLIST_FILE = Guibe/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = icl.8.Guibes; + PRODUCT_BUNDLE_IDENTIFIER = icl.8.Guibe2; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 1; diff --git a/Guibe.xcodeproj/xcshareddata/xcschemes/Guibe.xcscheme b/Guibe.xcodeproj/xcshareddata/xcschemes/Guibe.xcscheme index d1865a9..d088ac9 100644 --- a/Guibe.xcodeproj/xcshareddata/xcschemes/Guibe.xcscheme +++ b/Guibe.xcodeproj/xcshareddata/xcschemes/Guibe.xcscheme @@ -27,8 +27,6 @@ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" shouldUseLaunchSchemeArgsEnv = "YES"> - - - - + + - - - - - - - - + + - + + @@ -14,7 +13,7 @@ - + @@ -38,7 +37,7 @@ - + @@ -46,7 +45,7 @@ + + @@ -196,7 +196,7 @@ - + @@ -505,7 +505,7 @@ wear Guibe? - + @@ -716,7 +716,7 @@ wear Guibe? - + @@ -728,7 +728,7 @@ wear Guibe? - + - + @@ -1459,27 +1459,26 @@ And that’s all you need to know to follow the vibe! - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + diff --git a/Guibe/GameLearnViewController.swift b/Guibe/GameLearnViewController.swift index 29ce14c..d0229d8 100644 --- a/Guibe/GameLearnViewController.swift +++ b/Guibe/GameLearnViewController.swift @@ -161,6 +161,7 @@ class GameLearnViewController: UIViewController, AVAudioPlayerDelegate { func nextPage() { let nextViewController = self.storyboard?.instantiateViewController(withIdentifier: "screen7") as! R7adyViewController nextViewController.modalTransitionStyle = .crossDissolve + nextViewController.modalPresentationStyle = .fullScreen self.present(nextViewController, animated: true, completion: nil) } diff --git a/Guibe/MainViewController.swift b/Guibe/MainViewController.swift index 9d35db9..b653356 100644 --- a/Guibe/MainViewController.swift +++ b/Guibe/MainViewController.swift @@ -149,6 +149,8 @@ class MainViewController: UIViewController, AVAudioPlayerDelegate, myProtocol { override func viewDidLoad() { super.viewDidLoad() + overrideUserInterfaceStyle = .light + let debugVar = defaults.integer(forKey: "debug") if debugVar == 2 { @@ -165,6 +167,9 @@ class MainViewController: UIViewController, AVAudioPlayerDelegate, myProtocol { searchBarBg.layer.shadowRadius = 10 searchBarBg.layer.shadowOpacity = 0.2 + + + keybDismissBtn.isHidden = true menuWindowView.alpha = 0.0 @@ -225,6 +230,8 @@ class MainViewController: UIViewController, AVAudioPlayerDelegate, myProtocol { arrivedAtDestinationBtn.layer.shadowOffset = CGSize(width: 5, height: 7) arrivedAtDestinationBtn.layer.shadowRadius = 50 arrivedAtDestinationBtn.layer.shadowOpacity = 0.6 + + menuBtn.accessibilityLabel = "Menu" headingButton.accessibilityLabel = "Heading" @@ -522,6 +529,8 @@ extension MainViewController: CLLocationManagerDelegate { }})) self.present(alert, animated: true, completion: nil) } + + } diff --git a/Guibe/ViewController.swift b/Guibe/ViewController.swift index c5e0724..993d5eb 100644 --- a/Guibe/ViewController.swift +++ b/Guibe/ViewController.swift @@ -24,7 +24,9 @@ class ViewController: UIViewController { DispatchQueue.main.asyncAfter(deadline: .now() + 2) { let nextViewController = self.storyboard?.instantiateViewController(withIdentifier: "screen3") as! S3artViewController nextViewController.modalTransitionStyle = .crossDissolve + nextViewController.modalPresentationStyle = .fullScreen self.present(nextViewController, animated: true, completion: nil) +// self.show(nextViewController, sender: self) } } @@ -32,6 +34,8 @@ class ViewController: UIViewController { DispatchQueue.main.asyncAfter(deadline: .now() + 1) { let nextViewController = self.storyboard?.instantiateViewController(withIdentifier: "mainScreen") as! MainViewController nextViewController.modalTransitionStyle = .crossDissolve +// self.show(nextViewController, sender: self) + nextViewController.modalPresentationStyle = .fullScreen self.present(nextViewController, animated: true, completion: nil) } }