Post

Replies

Boosts

Views

Activity

Reply to Activate FaceTime from iOS app?
You can create a URL to FaceTime to initiate a call. See https://developer.apple.com/library/archive/featuredarticles/iPhoneURLScheme_Reference/FacetimeLinks/FacetimeLinks.html#//apple_ref/doc/uid/TP40007899-CH2-SW1 Like this: let facetimeURL = URL(string: "facetime://my-email@me.com")! UIApplication.shared.open(facetimeURL)
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’25
Reply to SwiftUI NavigationLink pops out by itself
I'm seeing this on watchOS. Unfortunately, isDetailLink is not available. Using a NavigationLink inside a TabView is what triggers this behavior for me. Able to reproduce it with the following view: struct ContentView: View {     var body: some View {         TabView() {             NavigationLink("Test", destination: EmptyView())         }     } } I see the following warning when I do not set the TabView's selection: TestNav WatchKit Extension[15697:678189] [SwiftUI] Accessing State's value outside of being installed on a View. This will result in a constant Binding of the initial value and will not update. I can set selection to a constant and the warning goes away, but the behavior persists. TabView(selection: .constant(0)) { ... }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Apr ’22