Add Email Support Request to SwiftUI Project

Поделиться
HTML-код
  • Опубликовано: 2 фев 2025
  • НаукаНаука

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

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

    You are becoming my favorite iOS RUclipsr. I will be implementing this soon and this is exactly what I was looking for.

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

    Your tutorials are handy. Actually, I have found several answers in one video. Thank you, Stewart.

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

      Glad you found it useful. Yes, my videos tend to add a lot of extra value added stuff in them. That is why they are generally longer than others.

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

      @@StewartLynch Actually I like them, you helped me to put the final touches on my first iOS app. Thank you

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

    Thank you Stewart. Your approach is always thorough. I managed in addition to adapt this functionality to also create emails other recipients on the DB.

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

    Great tip to suppress those constraints warnings!

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

    oh my ... I didn't imagine this would be as complex as explained in your video. I'm copying the solution wholesale. thanks for making it so approachable. I've updated the devices JSON if you want a more current version.

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

    Very helpful. I have a mail form in my UIKit app and was looking to convert this to SwiftUI. Thanks 🙏

  • @holycrosscv
    @holycrosscv 3 года назад

    This is so well done Stewart! The Text(""" """") is new to me. So helpful! Thanks for another brilliant tutorial!
    Blessings,
    --Mark

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

      Glad you could find something useful in it Mark.

    • @holycrosscv
      @holycrosscv 7 месяцев назад

      Hey Stewart, I have used this tutorial in several apps, and it has worked flawlessly! In my latest, (iOS 17.x) the email sends, and mailView dismisses, but the calling view is frozen. Only error that shows is this:
      UITextView 0x104042000 is switching to TextKit 1 compatibility mode because its layoutManager was accessed. Break on void _UITextViewEnablingCompatibilityMode(UITextView *__strong, BOOL) to debug.
      Error creating the CFMessagePort needed to communicate with PPT.
      Any clue what is going on?
      Thanks.
      Blessings,
      --Mark

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

      @holycrosscv i would have to see your pooject Mark

    • @holycrosscv
      @holycrosscv 7 месяцев назад

      @@StewartLynch Thanks Stewart. It was not your code at all (of course!). I was calling a function on the same view that mapped the result of @Query, and that was what was freezing the view. No clue why! I moved that call to a different view, observing the data, and it was back as expected. Someday, I really need to learn more about what is going on under the hood.
      I look forward to your future videos. Thanks!

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

    Great tutorial, Stewart!

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

    Great teaching style!

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

    18:51 Did you try to add a MIME encoded image in body inline? I mean it should be the same as an attachment, no?

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

      Sorry. I don’t understand the question. I checkout 18:51 and I don’t see how it relates.

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

      @@StewartLynch Inside the double quote of `let urlString = ""` there is `&body=` inside body when sending mail in BASh, python, or php I can send a complete MIME encoded mail body with "attachments" or actually inlined file data content.

  • @devhopes
    @devhopes 3 года назад

    Awesome and a useful tool i will be using. Thank you Stewart :)

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

    on both my iPhone and Mac the mailto option opens a dialog from Mail with the question to choose from several mail options. I use Outlook on both (and don't have Mail configured). That's not supposed to happen right?

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

      I am not sure. Can you not configure Mail to access your Outlook?

  • @larryburris6761
    @larryburris6761 3 года назад

    Excellent tutorial, as always! I really enjoy your teaching style! But how could you omit hockey from your team app?

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

      LOL. There is no hockey ball and this one🏒 didn’t match the emojis for the other sports. Sorry, as we Canadians say.

    • @larryburris6761
      @larryburris6761 3 года назад

      @@StewartLynch I've got a great hockey puck on fire image but I don't know how to send it to you.

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

      I can find images Larry. That isn’t the problem. This sample app uses emoji so I am stuck with that. Thanks anyway though.

  • @810602jay
    @810602jay 3 года назад

    The website of Starter Project Files is display "File not found (404 error)" 😰

    • @StewartLynch
      @StewartLynch  3 года назад +1

      oops. Sorry, left out the extension.. Try now

  • @rasheshbosamiya1482
    @rasheshbosamiya1482 3 года назад

    Nice tutorial

  • @mhfs61
    @mhfs61 3 года назад

    👍🏼👍🏼👍🏼

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

    canSendMail() returns always false on iPhone 13 Pro 15.5. How to solve this issue ? PS: I logged in my iCloud

  • @ricksciorra220
    @ricksciorra220 3 года назад

    The website of Completed Project Files is displaying "File not found (404 error)"

    • @StewartLynch
      @StewartLynch  3 года назад +1

      Oops. Sorry. I had forgotten to make it public. Please try now.

    • @ricksciorra220
      @ricksciorra220 3 года назад

      @@StewartLynch Thanks Stewart for the prompt reply and also for the excellent tutorials.