Post

Replies

Boosts

Views

Activity

Reply to iOS app crashes at launch on Testflight for iOS 14 and below but not iOS 15+
Seeing identical behavior. One caveat is my current code is using the back-ported Swift concurrency on iOS 14. The app works fine in simulator and device with Xcode on iOS 14, but crashes on launch with TestFlight build. The TestFlight build works on iOS 15. Haven't tried using older code, but based on what we're both seeing, I think this is an Apple/TestFlight issue they need to fix.
Dec ’21
Reply to More control of TipKit arrow locations
It looks like the problem was your "Label" in the button. If you just use an Image as your button content, the tip will work: import SwiftUI import TipKit struct ContentView: View { @State var isSetting = false var body: some View { NavigationStack { VStack { Image(systemName: "globe") .imageScale(.large) .foregroundStyle(.tint) Text("Hello, world!") Text("isSetting: \(isSetting.description)") } .padding() .navigationTitle("Hello World") .toolbar { ToolbarItem(placement: .topBarLeading) { Button(action: { isSetting = true} ){ Image(systemName: "gear") } .popoverTip(TestTip()) } } } } } struct TestTip: Tip { var title: Text { Text("This is only a test") } } #Preview { ContentView() }
Aug ’23