Post not yet marked as solved
guard let appSupportDir = FileManager.default.urls(for: .applicationSupportDirectory, in: .userDomainMask).last else { return }
all 3 files for the SQL storage is located here at least on iOS
Post not yet marked as solved
So I just added more RAM. Was on 8gb and added another 32gb to make it 40gb. The simulator now at least loads but still a slow process but under 5 mins to launch as apposed to the +30 mins to infinity I was having to wait. Preview still doesn't work so not a fix adding more memory just a step in the right direction it seems.
Post not yet marked as solved
Anyone fixed this and able to post how?
Post not yet marked as solved
Light and dark and yes also Apples own applications. I kind of hope that Apple support read there forums. I'll file a report
Post not yet marked as solved
I am having reports from some users that they see my custom menuItem and some dont. I myself have it on one of my test devices XsMax and not on another iPhone 8.
Ok after going line by line the fix was to remove the cornerRadius I has set on the VStack. Didn't show that modifier in original post as I ddint think it was important. However posting here with full updated code.VStack{
//TF1
TextField("Duty", text: $dutyNumber)
.textFieldStyle(RoundedBorderTextFieldStyle())
.padding([.leading], 50)
.multilineTextAlignment(.center)
.keyboardType(.numberPad)
HStack{
//TF2
TextField("Start time", text: $dutyStartTime)
.textFieldStyle(RoundedBorderTextFieldStyle())
.padding([.leading], 50)
.multilineTextAlignment(.center)
.keyboardType(.numberPad)
//TF3
TextField("Finish time", text: $dutyFinishTime)
.textFieldStyle(RoundedBorderTextFieldStyle())
.padding([.leading], 50)
.multilineTextAlignment(.center)
.keyboardType(.numberPad)
}
}//.cornerRadius(4)
and if on device its not showing?
Post not yet marked as solved
The xcode beta download page has addedXcode 11 beta 5 is intended for use with iOS 13 beta 5. There are known incompatibilities when using SwiftUI on macOS Catalina beta 4. Update to macOS Catalina beta 5 when it becomes available.
The viewcontroller has a traitCollection and you can query its userInterfaceStyle.if traitCollection.userInterfaceStyle == .light {
//light mode
}