2

Cuando presiono el botón de comentario me lleva a una vista por medio de un NavigationLink y al volver me da este mensaje en la consola Trying to pop to a missing destination at /BuildRoot/Library/Caches/com.apple.xbs/Sources/Monoceros_Sim/Monoceros-39.4.3/UIKit/UIKitNavigationBridge.swift:390 y al intentar de nuevo presionar el botón ya no pasa nada. Agradeceria su ayuda! introducir la descripción de la imagen aquí

En el PostCardView

NavigationLink(destination: CommentView()){
                HStack{

                Image(systemName: "bubble.right").resizable().frame(width: 25, height: 25)
                Text("10 Comentarios")

                }
            }

En el ContentView NavigationView {

        TabView {
            HomeView()
                .tabItem({
                    Image(systemName: "house.fill")
                        .font(.title)
                })
            Text("Perfil")
                .tabItem({
                    Image(systemName: "person.circle")
                        .font(.title)
                })
        }.accentColor(.red)
            .navigationBarTitle("infoFiuna", displayMode: .inline)
            .navigationBarItems(trailing: Button(action: {

            }, label: {
                Image(systemName: "plus")
                    .resizable()
                    .frame(width: 25, height: 25)
                    .foregroundColor(.red)
            }))
            .navigationBarHidden(true)
    }

En el HomeView

ScrollView(.vertical, showsIndicators: false){
        VStack {


            ForEach(0..<8) {_ in

                PostCardView(user: "", image: "", id: "")
            }


        }
    }
3
  • podrias agregar el codigo de lo que estas intentando? el 17 dic. 2019 a las 13:10
  • Ahi tienes los códigos el 18 dic. 2019 a las 14:35
  • 1
    Probando en un dispositivo real funciona muy bien solo es problema del simulador de iOS el 12 ene. 2020 a las 16:00

1 respuesta 1

0

quizás te sirva esto que vi por aquí, dicen que es un poco el tiempo de refresco de las vistas Pregunta parecida en StackOverflow English

1
  • Se comenta que fue solucionado en iOS 13.3!
    – iGhost
    el 3 sep. 2020 a las 17:10

Tu Respuesta

By clicking “Publica tu respuesta”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

¿No es la respuesta que buscas? Examina otras preguntas con la etiqueta o formula tu propia pregunta.