I guess I should be using betas and providing feedback. I did notice that practically all of the apple apps do not use a navigation stack like this. It is always light mode with full screen sheets.
Post
Replies
Boosts
Views
Activity
FB15181880
Filed. Hopefully I did that right FB15097432
Thanks, i guess SwiftUI lists also can’t do this yet? Multi select drag and drop in the same list for mass re-ordering.
But draggable and dropDestination does not seem to support multi drag and drop.
For instance
.draggable(dragHelper.begin(source: pd, section.firstIndex(of: pd))) {
/* this drag Preview can't be updated while it is dragged around */
DragPreview()
}
this doesn't answer the question and maybe it has been fixed since. I am just here to say thanks for that code sample. I was having problems with a list that supports multiple select and then showing an alert. The alert would cause the edit mode to toggle and the selections to be clear. I hadn't see the .environment like you have it. That fixes my issue. Thank you
Been running the 17.5 beta and it is fixed there.
Not sure if we will see a fix. All none apple apps use the WKInterfaceVolumeControl wrapped in a WKInterfaceObjectRepresentable which stopped working we have seen. but the NowPlaying() swift control works just find where it uses Apples own volume control that is slim. The fix for the other apps would be to switch to using the apple now playing view, which isn't ideal.
Screenshot from iOS 17.2 showing the full filter options as expected
iOS 17.4 showing that same shortcut action completely missing the filter options.
@Property(title: "Duration")
var duration: Measurement<UnitDuration>
but will likely have to also add
extension UnitDuration: @unchecked Sendable {
}
to silence the warnings
Nothing fancy, it is in an UITableViewController class. had a user turn the phone to landscape mode and it showed the refresh control properly. Back to portrait and it is gone. but only on plus/max devices. Works fine in simulator. The only difference that i know of from when it worked until now is switching to scenes.
func setupRefreshControl() {
let refreshControl_ = UIRefreshControl.init()
self.refreshControl = refreshControl_
self.refreshControl?.addTarget(self,
action: #selector(self.refreshControlRequest),
for: .valueChanged)
}
https://developer.apple.com/documentation/avfoundation/avplayer/1643482-automaticallywaitstominimizestal
set that to true instead. It’s doing exactly what the docs say it would do when false.