skip to Main Content

Xcode – Using fonts from xcfamework

So I have xcframework which have fonts file (from react-native-vector-icons). In test project (testApp), I am importing xcframework and I was expecting it to copy resources from my framework but unfortunately it doesn't copy these fonts which are there inside…

VIEW QUESTION

Xcode – SwiftUI's keyboardShortcut is not working if Button has a buttonStyle

My code: Button(action: { AudioServicesPlaySystemSound(1026) isActive.toggle() }){ HStack{ Image(systemName: "trash") Text("delete") } } .foregroundColor(.red) .font(.body) .keyboardShortcut("b",modifiers: []) in this stage keyboardShortcut is working but when I add buttonStyle keyboardShortcut is not working code with buttonStyle: Button(action: { AudioServicesPlaySystemSound(1026) isActive.toggle() }){…

VIEW QUESTION
Back To Top
Search