0 Replies Latest reply: May 7, 2012 2:38 PM by FLAdude RSS

    iOS QuickLook loading white screen when I tap custom filetype attachment in email. +icon pixelated

    FLAdude Community Member

      In mail, for an attached custom filetype, I can bring up the "open in MyApp" option if I tap and hold, but most users will probably just tap and may not realize there is the tap and hold option. If I do a simple tap, it brings up a white screen with some sort of empty dark grey bar at the bottom if I scroll down.

       

      I obviously want to get it to bring up an option to open it in my app or do something user-friendly.

       

      The filetype icon is also very pixelated if i download a file type from the web in Safari on the screen where it shows the icon and "open in MyApp" button after I download it.

      I have myex.png, myex@2x.png which are 22x29 and 44x58 and myex-large.png, myex-large@2x.png which are 88x116 and 176x232

       

      I have this 'UTExportedTypeDeclarations' entry for example:

       

       

      <dict>

              <key>UTTypeConformsTo</key>

              <array>

              <string>com.mysite.myapp.myex</string>

              <string>public.data</string>

              </array>

              <key>UTTypeDescription</key>

              <string>MyApp Myex</string>

              <key>UTTypeIdentifier</key>

              <string>com.mysite.myapp.myex</string>

              <key>UTTypeTagSpecification</key>

              <dict>

              <key>public.filename-extension</key>

              <string>myex</string>

              <key>public.mime-type</key>

              <string>application/x-myapp-myex</string>

              </dict>

              <key>UTTypeReferenceURL</key>

              <string>http://mysite.com/myex></string>

      </dict>

       

       

      and this 'CFBundleDocumentTypes' entry:

       

       

      <dict>

              <key>CFBundleTypeName</key>

              <string>MyApp Myex</string>

              <key>CFBundleTypeExtensions</key>

              <array>

              <string>myex</string>

              </array>

              <key>CFBundleTypeIconFiles</key>

              <array>

              <string>somedir/myex</string>

              <string>somedir/myex-large</string>

              <string>somedir/myex64</string>

              <string>somedir/myex320</string>

              </array>

              <key>LSItemContentTypes</key>

              <array>

              <string>com.mysite.myapp.myex</string>

              </array>

              <key>LSHandlerRank</key>

              <string>Owner</string>

              <key>CFBundleTypeRole</key>

              <string>Editor</string>

      </dict>