[英]navigationlink disapear in ios 14.5?
導航鏈接在 ios 14.5 中消失? 並且文本字段也不能輸入數字。 但它可以在 ios 15.0 中正確找到
NavigationLink(destination: chart(), label: {
Image(systemName: "chart.line.uptrend.xyaxis.circle.fill")
.resizable()
.frame(width: 40, height: 40)
.foregroundColor(.gray)
})
NavigationLink(destination: setting(), label: {
Image(systemName: "gear")
.resizable()
.frame(width: 40, height: 40)
.foregroundColor(.gray)
})
SF 符號chart.line.uptrend.xyaxis.circle.fill
在 iOS 15+ 中可用。 這就是您的符號不可見的原因(但鏈接應該仍然可以點擊)。
我猜您從 SF Symbol 應用程序中獲取了該圖標,如果是,請檢查特定圖標的更深入信息或將圖標從網格視圖切換到列表,它會立即顯示可用性。
Assets.xcassets
中)在此處查看屏幕截圖: SF Symbols 應用屏幕截圖
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.