David Smith on Nostr: Today's little #visionOSFriday discovery. When you present a modal .sheet(), any ...
Today's little #visionOSFriday discovery. When you present a modal .sheet(), any ornaments you add to the sheet are pinned to the parent view. Which I found surprising at first but then realized that my confusion was stemming from conceptually misusing sheets. Many situations where I'd use a sheet in iOS are much more appropriately implemented as a new window on visionOS. Sheet's in visionOS probably shouldn’t be massive, complex views.
{
"id":"ca6fdd32214657dc327b0349e32fcdedce39c59c74a8a8f43898bebd5594f5a9",
"pubkey":"0f98b63e445497403a9d290101c1ba3bba2c8430dddb690cffd50ed73e221a21",
"created_at":1699637644,
"kind":1,
"tags": [
[
"t",
"visionosfriday"
],
[
"proxy",
"https://mastodon.social/users/_Davidsmith/statuses/111387452623772219",
"activitypub"
]
],
"content":"Today's little #visionOSFriday discovery. When you present a modal .sheet(), any ornaments you add to the sheet are pinned to the parent view. Which I found surprising at first but then realized that my confusion was stemming from conceptually misusing sheets. Many situations where I'd use a sheet in iOS are much more appropriately implemented as a new window on visionOS. Sheet's in visionOS probably shouldn’t be massive, complex views.\n\nhttps://files.mastodon.social/media_attachments/files/111/387/447/171/530/221/original/12064bbb3f787e7f.mp4",
"sig":"220563276d52f0fd10701aac0c70589c11835d32c79f014ca82397d6e1c6ad0eae609c25cc263b5143c7b6729945de9cb90da0dd3ebdd6fcc638b1bd4c37478c"
}