Posts

Post not yet marked as solved
4 Replies
8.7k Views
I'm adding Universal Link support to a new app.I have done this before on 2 other apps in the past, and in those cases, the associated domains were entered in the project Capabilities tab (in XCode) like this:"applinks:mydomain.com""applinks:*.mydomain.com"However, today using XCode, I see when I click the plus button to add a new domain specification, it pre-seeds the text field with"webcredentials:exanple.com"Soooo, can someone tell me first if this is a replacement for applinks? So far, I have been unable to find any documentation which explains what happened to applinks. I found this page (https://developer.apple.com/documentation/security/password_autofill/setting_up_an_app_s_associated_domains) which simply shows what I see in XCode (ie. "webcredentials" and not "applinks") - so, what's the story?Similarly, this page shows the apple-app-site-association file which references "webcredentials" instead of the format I have used in the past which uses applinks. Are they interchangable? Does the apple-app-site-association file need both webcredentials section and an applinks section?Of course, my other apps which use universal links still work, and they use "applinks" - maybe they are interchangable now?Which should I use? Or both? Thanks. Jordan.
Posted
by JBAtIWS.
Last updated
.
Post not yet marked as solved
0 Replies
429 Views
In a previous version of an app, we donated some Siri Shortcuts - or rather, added them to the INVoiceShortcutCenter via:INVoiceShortcutCenter.shared.setShortcutSuggestions(array)Others were donated via creating an INInteraction and then calling interaction.donate() - like this:let interaction = INInteraction(intent: intent, response: nil) interaction.donate()Now, in an upcoming version of the app, we want to remove these shortcuts as they no longer are valid.I've tried calling INInteraction.deleteAll and it only deletes shortcuts donated via the second method. Shortcuts created via the first method are not removed. I checked also (iOS12 device) under My Shortcuts, the shortcuts created by using INVoiceShortcutCenter are not listed, so, why won't hey go away?
Posted
by JBAtIWS.
Last updated
.
Post not yet marked as solved
0 Replies
602 Views
I'm using UIActivityViewController with a set of custom UIActivityItemSource objects. Like this:let items = [ titleWrapper, imageWrapper, bodyWrapper, pdfWrapper ] UIActivityViewController = UIActivityViewController.init(activityItems: items, applicationActivities: nil)Items is an array of UIAcivityItemSource subclasses - some return text (String) others return an image or a PDF, etc.In each activity item source, I block some of these from being included, for example, for UIActivity.ActivityType.mail I reutrn nil for the PDF, but not for the image, so, the image ends up in the email. Fine. But, I cannot figure how to control the order. In my array of activityItems, I order them in the order I wish they would appear. But, in the email composer, I get - title (String) - body (String) - image (UIImage) Is there a way to get the image to appear first? Or even better, after the title string but before the body string. Or am I stuck with this? Thanks.
Posted
by JBAtIWS.
Last updated
.
Post not yet marked as solved
1 Replies
8.8k Views
I've run into a bit of a pickle, messing about with betas and older versions of XCode. Then, thinking this was the cause of my problems building, I tried to delete XCode and re-install. Now everything is hosed, none of the SImulators work, I get weird messages saying they are not installed. There are several articles on this forum which are 2-4 years old - none of them seem to apply to 10.x. Is there a proper way to completely wipe XCode 10.x from a system so I can download it fresh and just start over? Thanks.
Posted
by JBAtIWS.
Last updated
.