Post

Replies

Boosts

Views

Activity

SwiftUI Map shows through toolbar.
Hi, On iOS 17 beta I have drawn a Map inside a NavigationStack with toolbar buttons. The map is drawing itself above the toolbar background and behind the toolbar buttons, that is the map is drawing right to the bottom of the display but the buttons are visible on top of the map. The Apple Maps logo etc has honoured the safe area correctly. Anyone seen this and know why or how to avoid this? If I replace the map with another view the toolbar is handled properly. Any suggestions appreciated, cheers.
1
0
635
Aug ’23
NavigationSplitView 3 column, show/hide the left sidebar.
Hi, I have an iPad app using a NavigationSplitView in 3 columns. The far left sidebar is initially hidden. NavigationSplitView automatically includes a button to show the sidebar but once it is displayed the button is removed so the user has no obvious way to close the sidebar again (you can swipe it away but who knows that?). The sidebar contains a List just like the builtin Notes app. I have a "columnVisibility" property to track the display state of the third column. Does anyone know how to either: Detect that the user has selected something in the sidebar List so the sidebar can be hidden using the columnVisibility property, or Keep the toggle button around so the user can close the sidebar with that? Thank you for any ideas you may have. J
0
1
423
Nov ’22
Uploaded app is reporting incorrect deployment target
I have been testing an update to one of my apps this week and I intended to release the app yesterday. All builds uploaded before yesterday (Friday) report a deployment target of iOS14.1 (it is built with SwiftUI) but just in the last upload done yesterday reports a deployment target of iOS 11. On checking further this has happened to another app written with UIKit that has been requiring iOS14.1 until Friday when it changed to iOS11. Anyone else had this completely bazar problem? I believe it's an Apple problem as I don't think Xcode could even build a SwiftUI app with a target of 11 and two apps suddenly change on the same day???
3
0
795
Aug ’21
Strange behaviour with SwiftUI in latest iOS beta
I have a finished SwiftUI app for iOS built with Xcode 12.5.1 for iOS 14. Everything works fine on 14 but a strange behaviour has appeared in latest 15 beta. The app has a "Settings" page containing a List with Pickers and Buttons. Only on the latest beta iOS the buttons initially have the accent color but switch to grey after about 1 second. The Picker "ticks" do the same thing. Going away from the page and back repeats the strange behaviour. Nothing in State changes. If I start off assuming it might be something I have done I am at a complete loss where to even start looking. Anyone any random thoughts or a similar experience?
1
0
631
Jul ’21