This question already has an answer here:
how do i create and use custom vocabulary with sirikit?
(1 answer)
Closed 4 years ago.
I have some troubles to add custom vocabulary to Siri.
I have implemented Siri in my app and it works well with classical commands. However, I tried to add a custom phrase and it doesn't recognized it.
I tried the two ways described in "https://developer.apple.com/library/content/documentation/Intents/Conceptual/SiriIntegrationGuide/SpecifyingCustomVocabulary.html#//apple_ref/doc/uid/TP40016875-CH6-SW1" and followed all the steps.
Do you have any other tips or explanations ? Or could you tell me how I can debug this because I have no clue of what happening, if my AppIntentVocabulary.plist is taken into account or not for exemple.
Answer https://stackoverflow.com/a/48861352/1351327.
A lot of people faced this problem like me in the past.
We should wait Apple to add new intent domains. Open radar has so many requests for that.
Related
There is a similar question few years ago was asked in this thread this thread. Unfortunately no answer was given. I know how to read and write defined EXIF, TIFF, etc. tags on iOS (kCGImageProperty* tags). The problem is Apple for some reason ignored many useful meta tags which I need in my app. Is there any way to "register" missing tags using standard iOS libraries, such that adding them to dictionary would end up in the meta-header of an image?
I found that many of the app using 3D Touch to call UIActivityController to share, I search a lot of content are not found to explain, I hope someone can help me to solve, thank you.
I actually asked that question the other day as well.
Swift 3D Touch iOS 10 Home screen quick actions share Item missing
This is a new iOS 10 feature that all apps got by default, so there is nothing you will have to do.
You will only see it on the version thats live on the app store, it will not show up when you are testing.
There is one solution for it to resolve use the cyclomatic library of force touhc and it will do the work for you
This question already has answers here:
Fast and Lean PDF Viewer for iPhone / iPad / iOS - tips and hints?
(3 answers)
Closed 7 years ago.
i m looking for a way to display PDFs on iOS - for sure i could use a webView but are there some other ways?
Maybe some frameworks (i did not find any), that offer some more features like "draw on pdf etc"
It depend on what you want free or fee. I see a lot framework. Also It write with Objective-C. But it's not problem because you can use it with Bridging-Header.
I have used to PDKFkit but it have fee.
I see this compare, I think you can reference it Compare framework pdf iOS
Maybe It library can be fit what you want: vfr/Reader
This question already has answers here:
Force iphone app to restart programmatically?
(7 answers)
Closed 8 years ago.
I am developing an iPhone app in swift and wanted localisation feature inside it.
When the user selects a language in the app, the UI components such as labels/buttons,etc.,. fails to change the language and takes more time in some cases also.
So i needed to manually restart my app when the users want to change the language.
Can anyone please suggest me how to do that.
Thanks in advance.
Swift is a language, not an API. You have the same functionality available to you in Swift as in Objective C, although the syntax and ease of use may differ between the languages.
The answer you linked to therefore already answers the question.
Also, as Hemang points out, don't do this.
It's symptomatic of bad design that you would need to restart the app to change the displayed language.
It would be much better to fix the underlying problem than to apply a hacky band-aid solution such as this.
DONT EVER DO THIS... else you'll surely reject by Apple, I don't know what problem you're facing after user change different language from your app, because I'd worked on this kind of app before (which supports multiple language and user may able to change it while current running of the app). I don't have idea with Swift but in ObjectiveC it works perfect.
From Documentation, https://developer.apple.com/library/ios/qa/qa1561/_index.html
Warning: Do not call the exit function. Applications calling exit will appear to the user to have crashed, rather than performing a graceful termination and animating back to the Home screen.
NOT RECOMMENDED but still, you can ask user to Restart their app whenever they changed the language with proper message like, " needs to restart to take effect of language change, [please save your any on going work] and close and again open the app to see the effect, thanks !"
Here, the words inside <...> should be your app name, and [...] need to show if you're making an app that needs to save user information before exit?.
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Do I really need version control?
My question is simple enough. When I am in Xcode and right click a file and go down to "Source Control>Commit Selected File...", it brings up a new screen.
My question is this:
What is committing files for? I'm simply trying to understand the pros and cons.
Thanks!
Jake
EDIT: Now I understand, thanks for the responses!
Sometimes, it is possible to draw yourself into a corner: You have a great idea, you change many things, and you notice your idea wasn't as good as you thought. If you had source control, you could just go back to the last working version easily, cleanly, reliably and quickly.
Version control is also a way to back up a working copy of your code. If you don't understand the benefits, you definitely need it.