Questions tagged [ios-app-extension]

App extensions are a feature introduced in iOS 8 that allows apps to extend their functionality and become available to users while they're using other apps. Extensions are created to do a specific task, such as enabling sharing Safari pages through your app, or to display an interface in Notification Center for your app.

App extensions are a feature introduced in iOS 8 that allows apps to extend their functionality and become available to users while they are using other apps.

Extensions are created to do a specific task, such as enabling sharing Safari pages through your app, or to display an interface in Notification Center for your app.

722 questions
1
vote
1 answer

How to make a objective-c written iOS app containing a swift-written app extension while still supporting iOS 6?

Is that even possible? I made an archive, validated & pushed it to itunes connect and I got a mail saying: Invalid Deployment Target - Apps built with Swift must have a Deployment Target of 7.0 or later. I get that swift is not supported on iOS 6…
Alexis
  • 16,629
  • 17
  • 62
  • 107
1
vote
1 answer

Is there a way to use iOS 8 Action App Extension without presenting an interface?

My App's extension doesn't really require an interface to perform its function. So is there any way I can use the action extension without presenting an interface? I tried simply making the view transparent but that didn't work (it just left a gray…
Epic Byte
  • 33,840
  • 12
  • 45
  • 93
1
vote
4 answers

iOS app - how do I add iOS 8 features only for iOS 8 users while still support all iOS 7 users

I want to add new features of iOS8 to my iOS app, such as today widget, while still support all iOS 7 users of mine. In other words, the new version of the app is still working with iOS 7 while the new feature is enabled only on iOS 8. As far as I…
Sean Dong
  • 575
  • 9
  • 16
1
vote
3 answers

iOS Today View Not Running on Device

I have created my first Today View extension that just displaying some texted it retrieves from a shared NSUserDefaults. It works perfectly and is ready to be shipped based off of how it displays and works through simulator, but when I try to run it…
JLoewy
  • 535
  • 1
  • 4
  • 17
1
vote
1 answer

How to label return key in custom keyboard based on text input type

I am creating a custom keyboard. I have a button for Return/Go/etc. If the user is entering a URL, my button text should be "Go". If she is writing in note, it should be "Return". How can my keyboard extension figure out what label to put on the…
Khant Thu Linn
  • 5,905
  • 7
  • 52
  • 120
1
vote
2 answers

Check full access for custom keyboard extension

I need to check full access for custom keyboard extension. I found this link. How to check the "Allow Full Access" is enabled in iOS 8? It say we can check App group. I have app group called "group.TTT.TGroup". It share access between main app and…
1
vote
1 answer

Disconnect Bluetooth device via iOS 8 Widget

I am developing a Bluetooth Low Energy (4.0) device that works with an iOS app and uses CoreBluetooth. I have successfully created this app and it interacts with the device just fine. However, now that iOS 8 allows developers to implement custom…
Teddy13
  • 3,824
  • 11
  • 42
  • 69
1
vote
1 answer

iOS8 Custom Keyboard Settings.bundle does not show up

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
zeiteisen
  • 7,078
  • 5
  • 50
  • 68
1
vote
2 answers

How to create buttons like in notification window on iOS8?

How can I create a button in a Today widget like the "edit button" in the picture below? Is there a quick and standard way to do this or must I subclass a button and override it's draw method to draw a filled and rounded rectangle with transparency…
frankish
  • 6,738
  • 9
  • 49
  • 100
1
vote
3 answers

How a keyboard extension know it's running in a iPhone app on iPad?

When using iPhone app on a iPad, the keyboard extension can only know the screen size of an iPad, but actually I should know it's like running on an iPhone, and get a size like an iPhone. My current code runs in a iPhone app on iPad look like this:
Henry
  • 481
  • 4
  • 17
1
vote
1 answer

App extension keyboard key being cut off on press

I have a keyboard that works fine except that the magnified view of the key (for keys on the top row) is cut off. It's basically a similar effect to the regular ios keyboard: I'm looking to achieve something like that in the picture. How can I…
SMD01
  • 101
  • 1
  • 13
1
vote
2 answers

Resize UITableView and Today Extension dynamically

After trying this to dynamically resize my UITableView according to its contents size and failing: self.tableViewPairedDevices.sizeToFit() I tried this which worked fine as long as my Today Widget is tall enough to show it entirely: var…
Lee Andrew
  • 798
  • 7
  • 28
1
vote
0 answers

Detect when Photo Editing Extension will come to foreground?

It is possible the user would start editing a photo with my Photo Editing Extension, then they could close the app (Photos) only to return to it later. I am wondering how to handle changes to that asset. In the template, Apple doesn't handle any…
Jordan H
  • 52,571
  • 37
  • 201
  • 351
1
vote
1 answer

Different .xib for different screen sizes and appearance? - iOS 8 Keyboard Extension

My problem: I'm trying to develop a custom keyboard for iOS 8. I got the buttons working and all that, but I would like to know how to do the different setups whether it is an iPad or an iPhone, and how to change the appearance when the keyboard…
1
vote
1 answer

Exception in iOS 8 Today Widget

What does the user experience when there is an unhandled exception in an iOS 8 Today Widget? Does it just reload the widget from scratch? What happens if the exception is continuous? Is the user forced to manually re-add the widget?
Awesome-o
  • 2,002
  • 1
  • 26
  • 38