반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- NavigationLink
- init?
- subject
- NullObject
- IOS
- init
- nonisolated
- ios14
- Xcode
- RFC1738/1808
- URL(string:)
- vim
- Bug
- operator
- @EnvironmentObject
- @Environment
- @Binding
- RxSwift
- graphql
- Operater
- nestjs
- swift6
- @State
- RxCocoa
- typeorm
- SwiftUI
- dismiss
- Operators
- SWIFT
- Creating Operators
Archives
- Today
- Total
목록Animation (1)
Tunko Development Diary

NavigationLink 를 통해 다른 뷰로 이동시 기본적으로 해당 뷰를 버튼 처럼 터치할 수 있게 됩니다. 이때 에니메이션이 동작하지 않도록 하는 방법입니다. import SwiftUI struct EmpeyActionStyle: ButtonStyle { func makeBody(configuration: Configuration) -> some View { configuration.label } } 사용시 NavigationLink { Text("Next View") } label: { Text("Button") } .buttonStyle(EmpeyActionStyle())
Development/iOS 개발
2022. 9. 6. 22:18