How do I register a custom file type association in Xamarin.iOS?












0















I looked at an existing tutorial for registering the file type associations in iOS via XCode.
I added my a new entry under Imported UTIs for my self-defined custom file type like .teop and filled the field for Descriptions/Identifier/Conforms To/Icons. Unfortunately, there seems to be no button for Additional imported UTI properties, so I can't follow along the tutorial and I'm I don't know how to proceed.










share|improve this question





























    0















    I looked at an existing tutorial for registering the file type associations in iOS via XCode.
    I added my a new entry under Imported UTIs for my self-defined custom file type like .teop and filled the field for Descriptions/Identifier/Conforms To/Icons. Unfortunately, there seems to be no button for Additional imported UTI properties, so I can't follow along the tutorial and I'm I don't know how to proceed.










    share|improve this question



























      0












      0








      0








      I looked at an existing tutorial for registering the file type associations in iOS via XCode.
      I added my a new entry under Imported UTIs for my self-defined custom file type like .teop and filled the field for Descriptions/Identifier/Conforms To/Icons. Unfortunately, there seems to be no button for Additional imported UTI properties, so I can't follow along the tutorial and I'm I don't know how to proceed.










      share|improve this question
















      I looked at an existing tutorial for registering the file type associations in iOS via XCode.
      I added my a new entry under Imported UTIs for my self-defined custom file type like .teop and filled the field for Descriptions/Identifier/Conforms To/Icons. Unfortunately, there seems to be no button for Additional imported UTI properties, so I can't follow along the tutorial and I'm I don't know how to proceed.







      xamarin xamarin.ios file-type file-type-associations






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 14 '18 at 8:58







      Christian

















      asked Nov 13 '18 at 14:47









      ChristianChristian

      10.8k2994156




      10.8k2994156
























          1 Answer
          1






          active

          oldest

          votes


















          2














          I don't think you need that for a known file type like pdf. I just did a test and the additional properties were not necessary for a PDF.



          I think they are necessary for custom file types though. If the properties are not available in the Advanced tab, you can set them in the Source tab. The advanced tab is just a GUI for the source tab for easy entry of document/imported uri types, etc. You could actually do it all in the source tab. Same is true for settings in the Application tab: just shortcuts to add key/values to the info.plist file. If you open the info.plist file in a text editor, you will see that it is just an XML file.



          That said, in the source tab you can add the additional properties:



          enter image description here



          And there is part 2 of the guide you linked that discusses custom file types: https://www.infragistics.com/community/blogs/b/stevez/posts/ios-tips-and-tricks-associate-a-file-type-with-your-app-part-2






          share|improve this answer


























          • I'm not asking to open a PDF which is a known file type but I need to open a self-defined custom one.

            – Christian
            Nov 14 '18 at 8:57











          • You were asking how to set the additional properties. I showed you how to do that. Then I gave a link to another article in the same series you linked that explains setting up a custom file type. Please read my entire answer.

            – jgoldberger - MSFT
            Nov 15 '18 at 17:47











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53283574%2fhow-do-i-register-a-custom-file-type-association-in-xamarin-ios%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          I don't think you need that for a known file type like pdf. I just did a test and the additional properties were not necessary for a PDF.



          I think they are necessary for custom file types though. If the properties are not available in the Advanced tab, you can set them in the Source tab. The advanced tab is just a GUI for the source tab for easy entry of document/imported uri types, etc. You could actually do it all in the source tab. Same is true for settings in the Application tab: just shortcuts to add key/values to the info.plist file. If you open the info.plist file in a text editor, you will see that it is just an XML file.



          That said, in the source tab you can add the additional properties:



          enter image description here



          And there is part 2 of the guide you linked that discusses custom file types: https://www.infragistics.com/community/blogs/b/stevez/posts/ios-tips-and-tricks-associate-a-file-type-with-your-app-part-2






          share|improve this answer


























          • I'm not asking to open a PDF which is a known file type but I need to open a self-defined custom one.

            – Christian
            Nov 14 '18 at 8:57











          • You were asking how to set the additional properties. I showed you how to do that. Then I gave a link to another article in the same series you linked that explains setting up a custom file type. Please read my entire answer.

            – jgoldberger - MSFT
            Nov 15 '18 at 17:47
















          2














          I don't think you need that for a known file type like pdf. I just did a test and the additional properties were not necessary for a PDF.



          I think they are necessary for custom file types though. If the properties are not available in the Advanced tab, you can set them in the Source tab. The advanced tab is just a GUI for the source tab for easy entry of document/imported uri types, etc. You could actually do it all in the source tab. Same is true for settings in the Application tab: just shortcuts to add key/values to the info.plist file. If you open the info.plist file in a text editor, you will see that it is just an XML file.



          That said, in the source tab you can add the additional properties:



          enter image description here



          And there is part 2 of the guide you linked that discusses custom file types: https://www.infragistics.com/community/blogs/b/stevez/posts/ios-tips-and-tricks-associate-a-file-type-with-your-app-part-2






          share|improve this answer


























          • I'm not asking to open a PDF which is a known file type but I need to open a self-defined custom one.

            – Christian
            Nov 14 '18 at 8:57











          • You were asking how to set the additional properties. I showed you how to do that. Then I gave a link to another article in the same series you linked that explains setting up a custom file type. Please read my entire answer.

            – jgoldberger - MSFT
            Nov 15 '18 at 17:47














          2












          2








          2







          I don't think you need that for a known file type like pdf. I just did a test and the additional properties were not necessary for a PDF.



          I think they are necessary for custom file types though. If the properties are not available in the Advanced tab, you can set them in the Source tab. The advanced tab is just a GUI for the source tab for easy entry of document/imported uri types, etc. You could actually do it all in the source tab. Same is true for settings in the Application tab: just shortcuts to add key/values to the info.plist file. If you open the info.plist file in a text editor, you will see that it is just an XML file.



          That said, in the source tab you can add the additional properties:



          enter image description here



          And there is part 2 of the guide you linked that discusses custom file types: https://www.infragistics.com/community/blogs/b/stevez/posts/ios-tips-and-tricks-associate-a-file-type-with-your-app-part-2






          share|improve this answer















          I don't think you need that for a known file type like pdf. I just did a test and the additional properties were not necessary for a PDF.



          I think they are necessary for custom file types though. If the properties are not available in the Advanced tab, you can set them in the Source tab. The advanced tab is just a GUI for the source tab for easy entry of document/imported uri types, etc. You could actually do it all in the source tab. Same is true for settings in the Application tab: just shortcuts to add key/values to the info.plist file. If you open the info.plist file in a text editor, you will see that it is just an XML file.



          That said, in the source tab you can add the additional properties:



          enter image description here



          And there is part 2 of the guide you linked that discusses custom file types: https://www.infragistics.com/community/blogs/b/stevez/posts/ios-tips-and-tricks-associate-a-file-type-with-your-app-part-2







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 14 '18 at 6:18

























          answered Nov 14 '18 at 2:33









          jgoldberger - MSFTjgoldberger - MSFT

          3,6831829




          3,6831829













          • I'm not asking to open a PDF which is a known file type but I need to open a self-defined custom one.

            – Christian
            Nov 14 '18 at 8:57











          • You were asking how to set the additional properties. I showed you how to do that. Then I gave a link to another article in the same series you linked that explains setting up a custom file type. Please read my entire answer.

            – jgoldberger - MSFT
            Nov 15 '18 at 17:47



















          • I'm not asking to open a PDF which is a known file type but I need to open a self-defined custom one.

            – Christian
            Nov 14 '18 at 8:57











          • You were asking how to set the additional properties. I showed you how to do that. Then I gave a link to another article in the same series you linked that explains setting up a custom file type. Please read my entire answer.

            – jgoldberger - MSFT
            Nov 15 '18 at 17:47

















          I'm not asking to open a PDF which is a known file type but I need to open a self-defined custom one.

          – Christian
          Nov 14 '18 at 8:57





          I'm not asking to open a PDF which is a known file type but I need to open a self-defined custom one.

          – Christian
          Nov 14 '18 at 8:57













          You were asking how to set the additional properties. I showed you how to do that. Then I gave a link to another article in the same series you linked that explains setting up a custom file type. Please read my entire answer.

          – jgoldberger - MSFT
          Nov 15 '18 at 17:47





          You were asking how to set the additional properties. I showed you how to do that. Then I gave a link to another article in the same series you linked that explains setting up a custom file type. Please read my entire answer.

          – jgoldberger - MSFT
          Nov 15 '18 at 17:47


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53283574%2fhow-do-i-register-a-custom-file-type-association-in-xamarin-ios%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          The Sandy Post

          Danny Elfman

          Pages that link to "Head v. Amoskeag Manufacturing Co."