Post

Replies

Boosts

Views

Activity

Comment on How can I handle NavigationLink for HStack row
here, I recommend you read question carefully. ` VStack{   NavigationLink(destination: ChatDetailView(), isActive: $profileData.show) { HStack{ VStack(alignment: .leading, spacing: 8, content: { Text(recent.userName) .fontWeight(.bold) Text(recent.lastMsg) .font(.caption) .foregroundColor(.gray) }) Spacer(minLength: 10) Text(recent.time) .font(.caption2) .foregroundColor(.gray) } Divider() } } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’21
Comment on How can I handle NavigationLink for HStack row
here, I recommend you read question carefully. ` VStack{   NavigationLink(destination: ChatDetailView(), isActive: $profileData.show) { HStack{ VStack(alignment: .leading, spacing: 8, content: { Text(recent.userName) .fontWeight(.bold) Text(recent.lastMsg) .font(.caption) .foregroundColor(.gray) }) Spacer(minLength: 10) Text(recent.time) .font(.caption2) .foregroundColor(.gray) } Divider() } } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Comment on How can I handle NavigationLink for HStack row
I know your example is so simple, but I cannot apply to my project. According to project, if you give me any solution, it will be appreciated :)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Comment on How can I handle NavigationLink for HStack row
I mean when U click the row item, it could be open chat detail view. I create message detail view, but I did not success to connect .
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Comment on why HStack items not alignnment in SwiftUI?
bravo great :)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’21
Comment on why HStack items not alignnment in SwiftUI?
I update question
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’21