The iOS App Group Container is a protected folder for sharing content with trusted apps. The most common use it to exchange information between the main App and a shared extension.
Questions tagged [ios-app-group]
232 questions
0
votes
1 answer
Can an App Extension be opened before the updated app has been opened for the first time?
I am implementing App Extensions in an upcoming release of my app. In the main app, I update the data and move the PersistentStore (.sqlite file) to a shared App Group directory. I am concerned the the user might update the app and then attempt to…

SAHM
- 4,078
- 7
- 41
- 77
0
votes
1 answer
iOS - Move item between applications, via share extension
There are 2 applications:
WhatsApp application
My application(testAPP)
I try to share a audio file between WhatsApp to my app (testAPP),I already implement APP Group and share extension.
I succeed to integrate between those application and receive…

Android0077
- 401
- 1
- 6
- 12
0
votes
1 answer
How often and how much iPhone share NSUserDefault data to Apple Watch?
Look at this Apple Docs
Additionally, iOS automatically forwards a read-only copy of your iOS
app’s preferences to Apple Watch. Your WatchKit extension can read
those preferences using an NSUserDefaults object, but it cannot make
changes…

Sang
- 4,049
- 3
- 37
- 47
0
votes
0 answers
Errors in the code of word guessing app
I have tried to make a word guessing game app in iOS, but the app is only able to check the first character of the word. I haven't written the else part as I am stuck in the else part.
import UIKit
class ViewController: UIViewController,…

Yashwin Munsadwala
- 474
- 7
- 11
0
votes
0 answers
Watchkit App creating a file in app group and I want to have access in the iOS application
I want to have a access to this file in app group in both application(ios and watchos)
I am using the following code to have an access.
In watchos where i create the container its working fine but the same code in iOS giving me Errors
let…

Osman
- 1,496
- 18
- 22
0
votes
1 answer
Copy TPK file from AppGroup Container to Documents
I have a file that exists within the AppGroup Shared Container and I was wondering if it was possible to copy the file from the Shared Container into the application bundle.
I am getting the file path as follows :
let filePath =…

Nate23VT
- 423
- 8
- 27
0
votes
1 answer
App Group ID and initWithSuiteName: method
I have to use App Group to communicate with my container app and Today Widget. I've created App Group ID like group.com.myCompany.myApp and using it in code like this: NSUserDefaults *shared = [[NSUserDefaults alloc]…

daleijn
- 718
- 13
- 22
0
votes
1 answer
Can i used same app group in apple watch and today extension?
i was used app group to share data with my apple watch and today extension from my app. the problem is i can able to get that app group data in today extension but i can't able to get this data in apple watch. so i just want to make sure that can i…

PinkeshGjr
- 8,460
- 5
- 41
- 56
0
votes
1 answer
Is it possible to create a IOS app that can download plugins and extension later?
we have a ios app that provides the platform for many similar games. When you install this app. This app already contains binaries of x number of games.
Now we are having size issue. So just wanted to know is it possible to create a ios app that…

luck
- 165
- 1
- 10
0
votes
2 answers
How to keep iphone anonymous from iOS app?
On an iOS device how would you prevent an application from setting an identifierforvendor for your device or is their a way to refresh the identifierforvendor without having to delete re download the iOS app.
The goal is I do not want an…

Jerry
- 3
- 3
0
votes
1 answer
App Groups and UIImage Swift
I want to transfer a UIImage from the main application to my keyboard extension. The only way I can think of to do this is by using app groups. (If there's another I'd love to know :) ) Does anybody know how this would work? Do I need to use Core…

Fletchman99
- 1
- 1
0
votes
1 answer
WatchOS 2 - iOS UserDefaults sharing
I am trying to sync user detail in between iOS and WatchOS 2. In previous version of WatchKit App groups was pretty good to share such preferences but in version2 I am struggling for the same.
Right now i tried to send userInfo using WCSession's…

Mrug
- 4,963
- 2
- 31
- 53
0
votes
1 answer
App Groups not working (Swift)
I am trying to pass data from my iPhone app to my Apple Watch app. I already have a working today extension widget (not sure if that requires app groups) but I cannot get the Apple Watch to read NSUserDefaults.
SET
let defaults:NSUserDefaults =…

Matt Butler
- 476
- 6
- 21
0
votes
1 answer
How to get D-U-N-S number for building ios apps?
We,want to build and develop IOS apps for my corporate office which was located in India But to build IOS apps for enterprise we need to have DUNS number. Can any one help me
1.How to get DUNS number for my corporate office in India ?
2.What is the…

lakshmansundeep
- 73
- 2
- 12
0
votes
1 answer
Build Error with custom keyboard (app extension) - Invalid Entitlement
I'm building a custom keyboard app. I made 2 separate App IDs and provisioning profiles for each - the app and the extension. I added 'app group' capability to both on Member center portal. Then in Xcode, I enabled App group capability for both…

anivader
- 364
- 1
- 4
- 17