Steve Troughton-Smith on Nostr: npub1srcgh…xfms4 digging into this, it looks like everything is being removed from ...
npub1srcgh979ychudzrha7asxa7kvennpghghzzadmv5gcunfw5p72qs6xfms4 (npub1src…fms4) digging into this, it looks like everything is being removed from the superview when backgrounded. My guess is SwiftUI doesn't have everything wired up right to build up/tear down a navigation view controller in 18? 👀
I've looked to see if there's anything I can patch around in the UIKit side, but it doesn't look like it. Maybe if you could store a strong reference to the underlying UINavigationController it might help?
Published at
2024-11-04 21:02:15Event JSON
{
"id": "a0a9e26570288b945bbe5b79f641619e1115ee2522f092315a1815c42fea4ed4",
"pubkey": "d24206613793725d8e4745561d07a56cfeb9dbe534fc46e0a9b2d159b0bc9ad0",
"created_at": 1730754135,
"kind": 1,
"tags": [
[
"p",
"80f08b97c5262fc68877efbb0377d6666730a2e8b885d6ed94463934ba81f281",
"wss://relay.mostr.pub"
],
[
"p",
"878c47bd4979fad7d81d5032895a0cbd8c7b3ac35f6b75f6131bd7144293d9fa",
"wss://relay.mostr.pub"
],
[
"e",
"65c6ddb69a4eb38e96e74e4ba923fad0bfb92da27c3d6cd4effbfac1bffad35a",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://mastodon.social/users/stroughtonsmith/statuses/113426702996291829",
"activitypub"
]
],
"content": "nostr:npub1srcgh979ychudzrha7asxa7kvennpghghzzadmv5gcunfw5p72qs6xfms4 digging into this, it looks like everything is being removed from the superview when backgrounded. My guess is SwiftUI doesn't have everything wired up right to build up/tear down a navigation view controller in 18? 👀\n\nI've looked to see if there's anything I can patch around in the UIKit side, but it doesn't look like it. Maybe if you could store a strong reference to the underlying UINavigationController it might help?",
"sig": "28596dcbd100d7ddb8467424578a68fc17bdf3a1e9012cfda3ec657644b2a98c10b168f0c457a29f153741abb6bc5f48f937d8fb1534c1cce7ebf3063e56646a"
}