swift - Share a file in watchos programmatically? - Stack Overflow

I want to share a file from my app memory to external places but:1- The airdrop option is not availabl

I want to share a file from my app memory to external places but:

1- The airdrop option is not available in the sharing menu

2- Saving to watch memory is not in options, either

3- Mail and messaging options lead to error.

What is the solution?

My code:

ShareLink(item: recording.url, 
          preview: SharePreview("\(recording.createdAt, formatter: dateFormatter)", 
          image: Image(systemName: "square.and.arrow.up"))) {
    Image(systemName: "square.and.arrow.up")
}

screenshot:

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744808738a4594936.html

相关推荐

  • swift - Share a file in watchos programmatically? - Stack Overflow

    I want to share a file from my app memory to external places but:1- The airdrop option is not availabl

    2天前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信