Kyle Hughes on Nostr: ShareLink in SwiftUI, as of iOS 17, doesn’t work when presented from sheets – ...
ShareLink in SwiftUI, as of iOS 17, doesn’t work when presented from sheets – there are logs about being unable to present UIActivityViewController. So, when I find myself with a Share button in a sheet I need to either redesign the app or wrap UIActivityViewController. A motivation torpedo.
Published at
2024-07-24 15:53:47Event JSON
{
"id": "4749be738d3aca723043be1a0f6ea220a1c44c7d723d1b674c744046a6eb50c9",
"pubkey": "a41af2077c257595ebba045291d00340a8d654bf7ea68d112f1599c200f0da71",
"created_at": 1721836427,
"kind": 1,
"tags": [
[
"proxy",
"https://mister.computer/users/kyle/statuses/112842272127627611",
"activitypub"
]
],
"content": "ShareLink in SwiftUI, as of iOS 17, doesn’t work when presented from sheets – there are logs about being unable to present UIActivityViewController. So, when I find myself with a Share button in a sheet I need to either redesign the app or wrap UIActivityViewController. A motivation torpedo.",
"sig": "a264eeb98bf7b90400b4fb4c0ceaa9072d45da3a79f3f800ad65a2319923532675b9b8c277918e8dbf6333e30be0fe5ddfd8b63fa15d07e3212043593e68565a"
}