The short answer is both. To write SwiftUI apps you must also learn Swift because Swift is the programming language SwiftUI uses.
Do I need to learn Swift for SwiftUI?
The short answer is both. To write SwiftUI apps you must also learn Swift because Swift is the programming language SwiftUI uses.