ios-app-extension

iOS8 Custom Keyboard Settings.bundle does not show up

吃可爱长大的小学妹 提交于 2019-12-13 00:43:54
问题 I added a Settings.bundle to the keyboard target. But when I add the keyboard in the settings, the Items from the Settings.bundle doesn't show up. I had it working once. But this was in Beta 4. -- best regards 回答1: In iOS8.0.2, the settings appear in the General->Keyboard section of the iOS settings app. However, a bug in iOS prevents from reading these values. The solution would be to create a settings screen in your containing app, and read/write the settings to the Shared Container, using

Animation delay on left side of screen in iOS keyboard extension

放肆的年华 提交于 2019-12-12 13:19:03
问题 I'm working on a keyboard extension for iOS. However, I'm having some weird issues with animations / layers not appearing instantly on the far left of the screen. I use layers / animations to show a "tool tip" when the user presses a key. For all keys except A and Q the tool tips are displayed instantly, but for these two keys there seems to be a slight delay before the layer and animation appears. This only happens on touch down, if I slide into the Q or A hit area the tool tips gets

Can FirebaseAuth 5.0.x be used in an iOS app extension?

流过昼夜 提交于 2019-12-12 12:55:32
问题 FirebaseAuth uses [UIApplication sharedApplication] in FIRAuth.m . Since that API is not available to App Extensions, it appears that FirebaseAuth (and anything that depends on it, such as Firestore) can not be used in an App Extension. Is there any way around this limitation? 回答1: Update: Firebase confirms that a fix is targeted for 5.2.x version. Track the Github issue for latest updates. It seems as Firebase is not officially supporting extensions in iOS. I have got that info from this

Get “Terminated due to Memory error” for ios 8 custom keyboard Extension

佐手、 提交于 2019-12-12 08:09:45
问题 I am developing a ios 8 custom keyboard Extension. It run like a charm start. But I always get "Receive Memory Warning" in Xcode. So my custom keyboard extension will suddenly terminate sometimes. But I run the custom keyboard in its host app. There don't have any problem. Don't get "Receive Memory Warning" in Xcode. Don't terminate. Anybody can help me? If app have any limit size for a Extension use? 回答1: Apple mentions in their App Extension Programming Guide that memory limits for app

How to make custom keyboard extension become first responder again

放肆的年华 提交于 2019-12-12 07:49:18
问题 I am making a custom keyboard extension, and in this keyboard, i have another uitextfield as a search field, so when I type on the custom keyboard, I am not sending the text to the safari's textfield or some chat app's textfield, I am sending the text to the uitextfield search field in the custom keyboard, so I can do some search and then when the search results come back, i am sending the search result to the safari's textfield or some chat app's textfield. So there is a first responder

Can a custom keyboard extension identify a user of my companion application in any way?

假装没事ソ 提交于 2019-12-12 06:58:08
问题 Can a custom keyboard app extension detect a specific user’s identity based on settings/credentials/identification mechanism in the companion app or otherwise? By "identifying a specific user", I mean in the context of my own application/service/brand, not personal/phone data on their device. Or is it always a static keyboard, always unable to determine the user/phone using it? 回答1: I think you should be able to. In your companion app, put whatever identifier you want in the NSUserDefaults ,

How to share a String with sharing apps like Facebook, Twitter, etc.?

淺唱寂寞╮ 提交于 2019-12-11 19:56:20
问题 I'm developing an App and I want to have a Share button that allows users to pick an app from a list that they can share from, which then opens up that app or some sort of dialog that lets them tweet, post, text message, etc. I've achieved this on my Android app because it is extremely simple there to create an ACTION_SEND intent, and filter based on certain mimetypes for what apps to share with. I want something similar with iOS8 and Swift but I can't find anywhere how to achieve this. I don

How to let iOS 12 Notification Extension custom UI Buttons trigger the app

只愿长相守 提交于 2019-12-11 12:49:13
问题 I have created my own Notification Extension custom UI with iOS 12 and added 2 buttons in it. Now I want to tap any of the buttons to launch the app with the app being aware of which buttons was tapped. My problem is, either the notification-extension captures the tapping of button but stays in the custom UI without launching the app, or it does not capture the tapping of button while being able to launch the app. Is there any solution then? Thanks! 回答1: Now I want to tap any of the buttons

iOS App Extension has PFUser currentUser set to nil

为君一笑 提交于 2019-12-11 10:42:07
问题 I have a Parse-enabled iOS 8 app and I'm trying to enable Share Extension. I've done exactly what it says at https://www.parse.com/docs/ios/guide#extensions but in my app extension, [PFUser currentUser] is set to nil (while it is not nil in my app), and [PFInstallation currentInstallation] is set to a new instance instead of my existing installation. There seems to be a problem with App Extension communicating with my app. In the Parse docs it clearly states: If you have an existing app using

Today Extension and background audio

a 夏天 提交于 2019-12-11 09:58:54
问题 I am trying to do a simple podcast-like widget for iOS 8. Things works fine, audio works... except that when the screen sleep, the audio stops. Can Today Extension do background audio? Or multitasking in general? 回答1: No. Today Widget is destroyed when it goes out of view (as evidenced by viewDidDisappear).. so sound can only be enabled when the widget is physically in view. Edit: Nope it is linked to the host app that runs it. As detailed in Apple documentation, an extension is a specialized