반응형
Notice
Recent Posts
Recent Comments
Link
- Today
- Total
07-08 02:22
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- cocoapods
- trunc
- barplot
- 딥러닝
- swiftUI
- SQL
- SWIFT
- substr
- 시각화
- decode
- rxswift
- deeplearning
- Python
- struct
- sigmoid
- tapply
- 연산자
- Observable
- Linux
- NVL
- r
- grep
- delegate
- ios
- scheduledTimer
- Upper
- 명령어
- MVC
- Optional
- ReLU
Archives
목록Tappable (1)
iOS 개발 기록 블로그
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/dWhG2v/btsplbYcF4N/G08qPf0Fu72cYNORal0n90/img.png)
예를 들어 위와 같은 화면에 버튼이 있다고 생각해보자. 기본적으로 "선택하기" 부분만 클릭이 되고 나머지 백그라운드 부분이 클릭되지 않는다. 이 경우에 아래와 같이 하면 백그라운드 영역도 클릭이 가능하게 된다. struct ChooseButtonView: View { var body: some View { Button(action: { print("Tapped the Button!") }, label: { Text("선택하기") .frame(maxWidth: .infinity) .padding() .background(Color.accentColor) .foregroundColor(.white) .cornerRadius(12) .padding(.horizontal, 20) }) } } Button을 타이..
iOS/SwiftUI
2023. 7. 31. 09:20