Thanks man! I've been trying to open pdf from almost 6-7 hours and now I am able to open it in actual devie
@rishabhmaini8200
Жыл бұрын
You're the best!!!! Btw the sheet method doesn't popup on the iPad. But I just put it in the VStack and it works great! Thank you so much
@swiftandtips
Жыл бұрын
Glad to help! 😃
@GRATCHNAT
2 жыл бұрын
Great work, thx !
@swiftandtips
2 жыл бұрын
You’re welcome ☺️!!
@khalilmhelheli1009
2 жыл бұрын
Thx a lot please can you explain more the defer
@swiftandtips
2 жыл бұрын
Sure, defer is simply an expression that will execute at the end of the function whatever statement that is between curly braces. This is cool for cleaning or closing operations 😃
@BogdanCuza
3 жыл бұрын
🎉🎉🎉
@focker321
Жыл бұрын
Maybe do you have any example how to use FileCoordinator when share some files between a Share Extension and a SwiftUI view? thanks in advance
@swiftandtips
Жыл бұрын
Great suggestion, thanks!
@Maziyarlayeghkar
3 жыл бұрын
I wanted to send a file via Airdrop from Mac to iPad. And then be able to use that file in the app that I am developing on that iPad. Do you know whether is it possible or apple allows us to do it? I have already tried UIDocumentPickerViewController but not successful.
@swiftandtips
3 жыл бұрын
Hi @Maziyar, Not sure but maybe this could help you developer.apple.com/documentation/swiftui/building_a_document-based_app_with_swiftui You need to set up your project to work with specific formats. As you mentioned, could be also restrictions, but I’m not sure if it’s your case.
Пікірлер: 12