07.TabView使用
https://www.hackingwithswift.com/books/ios-swiftui/creating-tabs-with-tabview-and-tabitem
切圆角
.cornerRadius(14)
.clipShape(Capsule())
导航栏形式
默认大标题
.navigationBarTitleDisplayMode( xx )
/**
/// Inherit the display mode from the previous navigation item.
case automatic
/// Display the title within the standard bounds of the navigation bar.
case inline
/// Display a large title within an expanded navigation bar.
case large
*/
Last updated
Was this helpful?