ios8-extension

Action Extension AND Sharing Core Data

空扰寡人 提交于 2019-12-02 04:25:11
I am using the Action extension in my Application. Our app currently uses Core Data. I am sharing this between the app and the Action Extension using App Groups and successfully migrated the Core Data from Documents Directory to App Group. The problem which I am facing happens when importing photos or notes from Photos/Notes App into my application using the extension. The document is imported successfully but I am not able to view that document in my application. Only when I kill the application and run it again then the documents appear. I am not using a framework here. So I have different

iOS Share extension how to support *.wav files

我与影子孤独终老i 提交于 2019-12-01 09:50:09
As the title states, I want my extension to show up when the users share *.wav files I've come across the following apple documentation: https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html#//apple_ref/doc/uid/TP40014214-CH21-SW8 I'm trying to figure out how to actually use what is mentioned in the documentation to do so. The documentation leaves me with the feeling I have most if not all the pieces I need, but not how they go together. I understand that I'll most probably have to build a "SUBQUERY(..)" statement, but where does it go

iOS Share extension how to support *.wav files

血红的双手。 提交于 2019-12-01 06:43:48
问题 As the title states, I want my extension to show up when the users share *.wav files I've come across the following apple documentation: https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html#//apple_ref/doc/uid/TP40014214-CH21-SW8 I'm trying to figure out how to actually use what is mentioned in the documentation to do so. The documentation leaves me with the feeling I have most if not all the pieces I need, but not how they go

Take screenshot of host app using iOS share/action extensions?

杀马特。学长 韩版系。学妹 提交于 2019-11-30 19:29:00
问题 I will like to know how to take a screenshot of the iOS host app with the use of a share/action extension. My use case is as follows: use the Safari browser to access a webpage (https such as gmail) tap on the Share button and select the extension the extension will take a screenshot of the current webpage An working example for this use case is the Awesome Screenshot iOS app. I had tried the following methods reload the baseURI (loadRequest) on a UIWebView/WKWebkit (would not be able to

iOS 8 : Keyboard Extension. Issue with adding pop up of keys

♀尐吖头ヾ 提交于 2019-11-30 09:15:33
I am building my Keyboard Extension app and i have added key pop animation on button when user tap on it. It works fine for inside image but for top row image pop up area become hidden as it clip the subview. I tried with ClipToBound property and set as False. But still not working. Anyone have any idea how to fix this? adding subview on superview also not works. Image A is showing correct pop up as it is inside frame of keyboard. Image B is wrong as pop up clip inside frame. I don't think you are allowed to display anything outside of the keyboard view; it will get automatically clipped.

iOS Share vs Action App Extension

狂风中的少年 提交于 2019-11-29 19:13:04
I want to implement an app extension, but I can't decide if I should implement it as a Share Extension or Action Extension. The documentation doesn't say much about the differences, just this: Share (iOS and OS X) : Post to a sharing website or share content with others Action (iOS and OS X; UI and non-UI variants) : Manipulate or view content originating in a host app Are there technical differences as well (e.g. does an Action extension allow me to do something that the Share extension doesn't), or is it merely a convention Apple wants you to follow to make things less confusing to users? It

How to handle memory constraints in iOS 8 Photo Extensions?

こ雲淡風輕ζ 提交于 2019-11-29 14:39:38
问题 I added a new iOS 8 Photo Extension to my existing photo editing app. My app has quite a complex filter pipeline and needs to keep multiple textures in memory at a time. However, on devices with 1 GB RAM I'm easily able to process 8 MP images. In the extension, however, there are much higher memory constraints. I had to scale down the image to under 2 MP in order to get it processed without crashing the extension. I also figured that the memory problems only occurred when not having a

iOS 8 : Keyboard Extension. Issue with adding pop up of keys

故事扮演 提交于 2019-11-29 14:08:08
问题 I am building my Keyboard Extension app and i have added key pop animation on button when user tap on it. It works fine for inside image but for top row image pop up area become hidden as it clip the subview. I tried with ClipToBound property and set as False. But still not working. Anyone have any idea how to fix this? adding subview on superview also not works. Image A is showing correct pop up as it is inside frame of keyboard. Image B is wrong as pop up clip inside frame. 回答1: I don't

Share between an iOS extension and it's containing app with the keychain?

感情迁移 提交于 2019-11-29 12:35:07
问题 I understand I can share data between my share extension and its containing app by enabling app groups and using NSUserDefaults (see Sharing data between an iOS 8 share extension and main app). However, the data I am storing is sensitive, so I hoped to use the keychain. So the user would enter account information in the containing app, and then the share extension would read that data to perform the intended sharing action. Does anyone know if this is possible? My first crack at it suggests

Custom KeyBoard get terminated due to memory pressure in iOS 8

瘦欲@ 提交于 2019-11-29 02:16:58
Custom KeyBoard get terminated due to memory pressure in iOS 8 Initially my custom keyboard is taking around 25mb of memory, but this memory is not deallocated with I dissmiss the keyboard. Memory keep on increase when we open custom keyboard again and again and finally terminated due to memory pressure. Help me out with this issue? You can dealloc some things in ViewWillDisappear function of KeyboardViewController The keyboard extension runs in a process that persists after the keyboard disappears. Your keyboards view controller is created anew each time your keyboard is created, but the