Skip to content

Commit 9a32523

Browse files
Steve TreaseSteve Trease
authored andcommitted
Added version debug information to AppDelegate.
1 parent 9a34eca commit 9a32523

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

iOS Steps/AppDelegate.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ import WatchConnectivity
2121
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
2222
// Override point for customization after application launch.
2323
print (NSURL (fileURLWithPath: "\(#file)").lastPathComponent!, "\(#function)")
24+
25+
print ("device uuid ", (UIDevice.current.identifierForVendor?.uuidString)!)
26+
27+
let appName: String = (Bundle.main.infoDictionary?["CFBundleName"] as? String)!
28+
let versionNumber: String = (Bundle.main.infoDictionary?["CFBundleVersion"] as? String)!
29+
print ("\(appName) (\(versionNumber))")
30+
2431
UserDefaults.standard.setValue(false, forKey: "_UIConstraintBasedLayoutLogUnsatisfiable")
2532

2633
let formatter = DateFormatter()

0 commit comments

Comments
 (0)