Riley Testut :fatpikachu: on Nostr: LT: How do I preview an iOS 17 widget using the new #Preview macro without raising ...
LT: How do I preview an iOS 17 widget using the new #Preview macro without raising the deployment target?
Adding an #available check fixes compiling for device at least…but still fails when previewing (I'm assuming because PreviewTimelineBuilder is iOS 17+?)
Published at
2023-09-05 18:02:38Event JSON
{
"id": "b5ce9839d3f630f5a0c4d5686848a92617972e05ad5f9b6466678bc66c8cb749",
"pubkey": "49697ad93c3f24734128a4d98e1c4fd5254f897ce0d82c156db29e0479d38b10",
"created_at": 1693936958,
"kind": 1,
"tags": [
[
"t",
"preview"
],
[
"t",
"available"
],
[
"proxy",
"https://mastodon.social/users/rileytestut/statuses/111013852524392560",
"activitypub"
]
],
"content": "LT: How do I preview an iOS 17 widget using the new #Preview macro without raising the deployment target?\n\nAdding an #available check fixes compiling for device at least…but still fails when previewing (I'm assuming because PreviewTimelineBuilder is iOS 17+?)\n\nhttps://files.mastodon.social/media_attachments/files/111/013/851/832/162/738/original/90df4dcff2cf942b.png\n\nhttps://files.mastodon.social/media_attachments/files/111/013/852/233/055/536/original/fa4ded4b24f2b553.png",
"sig": "13e2a17440a598812604c2234566a01bf2d84e3b518779f32fc6fcba587a90bb76832eb54303bace4c3d63802ef38d8a2467c1974b24fe535a68506f4f52db11"
}