Remove the call to action button in the revenue cat tutorial

after following the revenue cat tutorial dated July 2022, everything is running fine except I want to remove the call to action button and have the content view page call the paywall immediately on load. I’m assuming it is simple to do but im having trouble doing this, in the images it shows the section I’m referring to. thanks!

I replaced the stack call to action section with this, its rough but it work, thats to all that helped

}

            if !userViewModel.isSubscriptionActive {
                ZStack {
                    VStack (alignment: .center){
                        Text("")
                        
                            .onAppear {
                                isPaywallPresented = true
                            }
                    }
                }
            }
        }
        .sheet(isPresented: $isPaywallPresented, onDismiss: nil) {
            
            Paywall(isPaywallPresented: $isPaywallPresented)
        }
1 Like