[SwiftUI] .toolbar를 통해 NavigationLink 동작 시키기
(Toolbar는 NavigationView 안에 있지 않기 때문에, .toobar 내에 NavigationLink를 가진 ToolbarItem를 삽입하는 방식은 동작이 되지 않음.) SwiftUI ToolbarItem doesn't present a View from a NavigationLink I don't know if this is a bug or I am doing something wrong here. I've added a new button on the Navigation bar that would present a new view. struct MyView: View { @ObservedObject var viewMod... stackoverflow.com
iOS/SwiftUI
2021. 3. 20. 13:00
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- concurrent
- tail-recursive
- ToolbarItem
- EnvironmentObject
- tableFooterView
- async
- tail call
- DisposeBag
- uiscrollview
- dispose
- .toolbar
- Swift
- lineLimit
- SwiftUI
- trampoline
- rxswift
- fixedsize
- recursive function
- trampoline function
- NavigationLink
- Disposable
- UIViewController
- FuulScreenCover
- Observable
- reactivex
- Text.limitLine
- UIKit
- UIView
- Binding
- UITableView
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
글 보관함