본문 바로가기

seong_hye, the developer

검색하기
seong_hye, the developer
프로필사진 seong_hye

  • My P_Life (119) N
    • JAVA (3)
    • 알고리즘 코드 (3)
    • IOS (100) N
      • SwiftUI (25)
      • UIKit (13)
      • Error (7)
    • Infomation (6)
      • Firebase (1)
      • Git (1)
    • Daily Life (3)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/09   »
일 월 화 수 목 금 토
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
Tags
  • struct
  • SWIFTUI
  • SWIFT
  • Switch
  • CoreImage
  • Animation
  • Refresh
  • class
  • escaping
  • array
  • PushNotification
  • 화면전환
  • apns
  • list
  • error
  • self
  • 글또
  • viewlifecycle
  • ScrollView
  • http
  • mvvm
  • segue
  • IOS
  • Git
  • singleton
  • Observer
  • 고차함수
  • calendar
  • NotificationCenter
  • uikit
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Toolbar (1)

seong_hye, the developer

오류 해결) Ambiguous use of toolbar 해결 방법

📌 Ambiguous use of toolbar 📌보통 SwiftUI의 .toolbar 수정자 (오버로드가 여러 개)와 내 코드/ 프레임워크의 이름 충돌 또는 모호한 클로저 형태 때문에 생김 ✅ 옳은 toolbar 사용 방법.toolbar {... } 안에 무엇을 넣는지에 따라 여러 오버로드가 매칭될 수 있음항상 배치와 래퍼 타입을 명시하는 것이 필요 ➡️ 단일 버튼일 경우NavigationStack { Text("test") .toolbar { ToolbarItem(placement: .navigationBarTrailing) { Button("Save") {...} } }} ➡️ 여러 버튼일 경우.toolbar { Toolbar..

IOS/Error 2025. 6. 26.
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바