ShareLink and ShareSheet in iOS 16

Поделиться
HTML-код
  • Опубликовано: 6 окт 2024

Комментарии • 31

  • @patgoo2
    @patgoo2 2 года назад +1

    Very good video showing how to use ShareLinks and code hints. The video/audio pacing was great.

  • @paulberghege
    @paulberghege Год назад

    Thanks, great for reference. And the 'control shift click' tip is just pure gold!

    • @StewartLynch
      @StewartLynch  Год назад +1

      You should watch my 3 part series on Xcode tips as there are a lot of worthwhile shortcuts to know.

    • @paulberghege
      @paulberghege Год назад

      @@StewartLynch definitely will do now :)

  • @kenturnbull9679
    @kenturnbull9679 Год назад

    Very well done and IMHO very useful. Great followup to imageRenderer

  • @holycrosscv
    @holycrosscv Год назад

    Wow, I wish I had seen this excellent video yesterday. I needed to implement a sharesheet from a .sheet that worked for both iOS and ipadOS in iOS 15. I banged my head on the keyboard for quite a while. :) Wow is this MUCH more elegant and simple! Thanks for another spectacular video. I could not get the Control-Shift-Option trick to work. I would get just the normal option box. I do use the addon Multiliner, which does the same thing. I agree; easier to follow the code!

  • @andrejkling3886
    @andrejkling3886 Год назад

    Thank you so much Stewart... That's useful amazing lessons

  • @DrAgon-nc6pe
    @DrAgon-nc6pe 7 месяцев назад

    Very well explained, thank you very much 🙏👍🙂

  • @HoracioMartinScalia
    @HoracioMartinScalia Год назад

    Excellent video and explanation!!

  • @EricTMCode
    @EricTMCode Год назад

    Thank you Stewart, great work as usual 🙏

  • @ecx007
    @ecx007 Год назад

    Excelent video, thank you!! The content is very important for me

  • @Ivanovich935
    @Ivanovich935 Год назад

    Nice! It was a lot of help! Thanks Stewart!

  • @spreen_co
    @spreen_co Год назад +1

    would be great if you could address transferable. that's the real crux. just sharing a link results in an ugly preview. giving it a text as well produces wonky behaviour with different apps. only resolution is to use transferable but that's a crazy can of worms

  • @GaryLutchansky
    @GaryLutchansky Год назад

    Per usual, fantastic content! Now you've got me trying to add a Share to my app.
    I'd like to have a context menu appear when a list item is pressed. The equivalent in your Wine example would be to have a list of wine items. Long-press one and bring up a share for that item. I'm struggling trying to determine where to render my view so it's available to share. Thoughts?

    • @StewartLynch
      @StewartLynch  Год назад

      You may not be able to use a sharelink in this instance. I have not tried it myself, but I have run in to some limitations and resort to a UIViewRepresentable to create a ShareSheet using UIKit

  • @mkhasson97
    @mkhasson97 Год назад

    Thank you Stewart for this awesome tutorial, could you please explain how to create own Action Extension in iSwiftUI? Thank you in advance.

    • @StewartLynch
      @StewartLynch  Год назад +1

      I am afraid that I don’t know what you mean by an Action extension. Can you explain more please?

  • @thomasfahlke4253
    @thomasfahlke4253 2 года назад

    Hello Stewart, thank you very much for the extensive explanation as always. Is it possible to pre-populate the e-mail account as well as the recipient of mail and messages with ShareLink?

    • @StewartLynch
      @StewartLynch  2 года назад

      I don’t believe so because mail is only one of the options.

  • @JustinSpraggins
    @JustinSpraggins Год назад

    do you know if it's possible to go directly to a app's share extension with the passed data? And not have to show the share sheet and then tap the say Snapchat app icon, Instead just open the Snapchat share extension directly from your app.

  • @perlmunger
    @perlmunger 4 месяца назад

    Nice tutorial! Thanks for that! Do you know if there is any way to load the ShareLink's item: property lazily? I want to generate a CSV of the current data in my view, but not when the view appears. Only when the user taps the share button. Does this have to be done by loading a separate view with a button that just mimics a share button using the SF symbols share icon?

    • @StewartLynch
      @StewartLynch  4 месяца назад +1

      Unfortunately no. You have to revert to the older version

    • @perlmunger
      @perlmunger 4 месяца назад

      @@StewartLynch Ok. Thanks!

  • @ShivamMaheshwari-v4t
    @ShivamMaheshwari-v4t 5 дней назад

    Can we create our own Custom share sheet while using ShareLink too ?

  • @yuniorsanchez8578
    @yuniorsanchez8578 8 месяцев назад

    Just one question, why if you try sharing using WhatsApp instead of iMessage the image is no attached just the message?

    • @StewartLynch
      @StewartLynch  8 месяцев назад

      No idea. Sorry. I do not use WhatsApp

    • @yuniorsanchez8578
      @yuniorsanchez8578 8 месяцев назад

      @@StewartLynch i think thats a bug if you give it a try, and you try to share the rendered image and a mssage over whatsapp only the message is shared, but if you only have the renderimage it shares it over whatsapp, also i get a lot of webkit error when using sharelink, do you expirience the same?

  • @meowing1109
    @meowing1109 8 месяцев назад

    Hey Stewart, great tutorial! What if I want to share let's say to Instagram DM or Snapchat DM modally but without showing the share sheet first? I've been trying to copy the behavior like Lapse or Locket Widget for their 3rd party sharing feature because it's more direct and simplified, but it seems there are lack of resources online. Wondering if you have any idea about how to achieve that? Thanks and good day!

    • @StewartLynch
      @StewartLynch  8 месяцев назад

      YOu may have to revert to the UIKit version for that unfortunately. There are some definite limitations to this API