Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-27359

iOS: Unable to open modal controller in swift module

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Release 8.1.0
    • Fix Version/s: None
    • Component/s: iOS
    • Labels:
      None

      Description

      Trying to implement Stripe in iOS with swift I'm not able to show a modal view controller.

      In order to isolate the cause I've implemented the following call with the same result, the controller does not show up.

      @available(iOS 9.0, *)
          @objc(openSafari:)
          func openSafari(args: Array<Any>?) -> Void {
              let safariVC = SFSafariViewController(url: NSURL(string: "https://google.es") as! URL)
               safariVC.delegate=self
               TiApp().showModalController(safariVC, animated: true)
             
          }
      

        Attachments

          Activity

            People

            • Assignee:
              jvennemann Jan Vennemann
              Reporter:
              bgarcia Brian García
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code