ShareLink and ShareSheet in iOS 16

  Рет қаралды 8,177

Stewart Lynch

Stewart Lynch

Күн бұрын

Пікірлер: 31
@patgoo2
@patgoo2 2 жыл бұрын
Very good video showing how to use ShareLinks and code hints. The video/audio pacing was great.
@paulberghege
@paulberghege 2 жыл бұрын
Thanks, great for reference. And the 'control shift click' tip is just pure gold!
@StewartLynch
@StewartLynch 2 жыл бұрын
You should watch my 3 part series on Xcode tips as there are a lot of worthwhile shortcuts to know.
@paulberghege
@paulberghege 2 жыл бұрын
@@StewartLynch definitely will do now :)
@kenturnbull9679
@kenturnbull9679 2 жыл бұрын
Very well done and IMHO very useful. Great followup to imageRenderer
@DrAgon-nc6pe
@DrAgon-nc6pe 8 ай бұрын
Very well explained, thank you very much 🙏👍🙂
@andrejkling3886
@andrejkling3886 2 жыл бұрын
Thank you so much Stewart... That's useful amazing lessons
@ecx007
@ecx007 2 жыл бұрын
Excelent video, thank you!! The content is very important for me
@EricTMCode
@EricTMCode Жыл бұрын
Thank you Stewart, great work as usual 🙏
@Ivanovich935
@Ivanovich935 Жыл бұрын
Nice! It was a lot of help! Thanks Stewart!
@StewartLynch
@StewartLynch Жыл бұрын
Glad it helped!
@HoracioMartinScalia
@HoracioMartinScalia Жыл бұрын
Excellent video and explanation!!
@holycrosscv
@holycrosscv 2 жыл бұрын
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!
@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.
@mkhasson97
@mkhasson97 2 жыл бұрын
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 2 жыл бұрын
I am afraid that I don’t know what you mean by an Action extension. Can you explain more please?
@GaryLutchansky
@GaryLutchansky 2 жыл бұрын
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 2 жыл бұрын
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
@perlmunger
@perlmunger 5 ай бұрын
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 5 ай бұрын
Unfortunately no. You have to revert to the older version
@perlmunger
@perlmunger 5 ай бұрын
@@StewartLynch Ok. Thanks!
@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.
@spreen_co
@spreen_co Жыл бұрын
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
@ShivamMaheshwari-v4t
@ShivamMaheshwari-v4t Ай бұрын
Can we create our own Custom share sheet while using ShareLink too ?
@StewartLynch
@StewartLynch Ай бұрын
No
@yuniorsanchez8578
@yuniorsanchez8578 9 ай бұрын
Just one question, why if you try sharing using WhatsApp instead of iMessage the image is no attached just the message?
@StewartLynch
@StewartLynch 9 ай бұрын
No idea. Sorry. I do not use WhatsApp
@yuniorsanchez8578
@yuniorsanchez8578 9 ай бұрын
@@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 9 ай бұрын
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 9 ай бұрын
YOu may have to revert to the UIKit version for that unfortunately. There are some definite limitations to this API
Gauge View iOS 16
22:58
Stewart Lynch
Рет қаралды 3,1 М.
ImageRenderer iOS 16
24:41
Stewart Lynch
Рет қаралды 2,8 М.
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 19 МЛН
黑的奸计得逞 #古风
00:24
Black and white double fury
Рет қаралды 30 МЛН
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 56 МЛН
Threads and Grand Central Dispatch in Swift
22:14
Stewart Lynch
Рет қаралды 22 М.
NavigationSplitView in iOS 16
31:04
Stewart Lynch
Рет қаралды 9 М.
Share Sheet | Xcode 14 | Swift UI
10:26
arconsis
Рет қаралды 758
BottomSheets and PresentationDetents in SwiftUI
24:59
Stewart Lynch
Рет қаралды 4,9 М.
Dependency injection в Swift.
25:35
iOS Skills
Рет қаралды 2,1 М.
Enum Navigation in iOS 16
14:19
Stewart Lynch
Рет қаралды 10 М.
What is JSON - JSON Parsing in Swift
24:15
CodeWithChris
Рет қаралды 74 М.