diff --git a/readeck.xcodeproj/project.pbxproj b/readeck.xcodeproj/project.pbxproj index 02706b3..f067c69 100644 --- a/readeck.xcodeproj/project.pbxproj +++ b/readeck.xcodeproj/project.pbxproj @@ -437,7 +437,7 @@ buildSettings = { CODE_SIGN_ENTITLEMENTS = URLShare/URLShare.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 27; + CURRENT_PROJECT_VERSION = 29; DEVELOPMENT_TEAM = 8J69P655GN; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = URLShare/Info.plist; @@ -470,7 +470,7 @@ buildSettings = { CODE_SIGN_ENTITLEMENTS = URLShare/URLShare.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 27; + CURRENT_PROJECT_VERSION = 29; DEVELOPMENT_TEAM = 8J69P655GN; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = URLShare/Info.plist; @@ -625,7 +625,7 @@ CODE_SIGN_ENTITLEMENTS = readeck/readeck.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 27; + CURRENT_PROJECT_VERSION = 29; DEVELOPMENT_ASSET_PATHS = "\"readeck/Preview Content\""; DEVELOPMENT_TEAM = 8J69P655GN; ENABLE_HARDENED_RUNTIME = YES; @@ -669,7 +669,7 @@ CODE_SIGN_ENTITLEMENTS = readeck/readeck.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 27; + CURRENT_PROJECT_VERSION = 29; DEVELOPMENT_ASSET_PATHS = "\"readeck/Preview Content\""; DEVELOPMENT_TEAM = 8J69P655GN; ENABLE_HARDENED_RUNTIME = YES; diff --git a/readeck/UI/readeckApp.swift b/readeck/UI/readeckApp.swift index c29c97d..ef8bb35 100644 --- a/readeck/UI/readeckApp.swift +++ b/readeck/UI/readeckApp.swift @@ -51,3 +51,58 @@ struct readeckApp: App { } } } + + +struct TestView: View { + var body: some View { + if #available(iOS 26.0, *) { + Text("hello") + .toolbar { + ToolbarSpacer(.flexible) + + ToolbarItem { + Button { + + } label: { + Label("Favorite", systemImage: "share") + .symbolVariant(.none) + } + } + + ToolbarSpacer(.fixed) + + ToolbarItemGroup { + Button { + + } label: { + Label("Favorite", systemImage: "heart") + .symbolVariant(.none) + } + + Button("Info", systemImage: "info") { + + } + } + + ToolbarItemGroup(placement: .bottomBar) { + Spacer() + Button { + + } label: { + Label("Favorite", systemImage: "heart") + .symbolVariant(.none) + } + + Button("Info", systemImage: "info") { + + } + } + + } + .toolbar(removing: .title) + .ignoresSafeArea(edges: .top) + } else { + Text("hello1") + } + } +}