Questions tagged [appgroups]

23 questions
0
votes
1 answer

How to store an NSImage as Data in an app group on macOS

In iOS I can store UIImage to an app group as Data. I can convert the png image with pngData() to a Data object: let imageData = scaledImage.pngData()! I store that object in an app group, retrieve it and convert ik back to an UIImage: let image =…
0
votes
0 answers

App Group for Apps with different Developer Accounts

There are 2 Apps. Both belong to the same organization but have different developer accounts. Both are Mac Apps. Can they still be a part of the same App Group for sharing data, without changing the developer accounts?
user2597100
  • 97
  • 1
  • 10
0
votes
1 answer

Data sharing using App Groups works on simulator but not on device

I developed a single page app and a keyboard extension, and I want to send data from my keyboard extensions to my app. I have created an App Group and added it to both targets; the entitlement files are located under each target folder. In the…
Dennis Cunha
  • 51
  • 1
  • 8
0
votes
0 answers

How can I pass data from app extension to host application and upload it Firebase?

I am using an app extension to allow users to save webpage URLs to my app so I can display them in a UITableView. I have created the action extension but I'm especially struggling with uploading the data to Firebase. I know it is not…
michaelderiso
  • 145
  • 1
  • 1
  • 12
0
votes
1 answer

Passing Data from Watch to iPhone using Appgroups

I am working on a project to pass data from an Apple Watch App to the iPhone App using Appgroups. My code is not working and I am not sure why. Hopefully someone can help me out! :) Sending Data Apple Watch @IBAction func senddata() { let group…
0
votes
0 answers

iOS Widget data sharing is stopped when widget updations done

I created today extension widget,and created shared data base using Appgroups i am able to retrieve data from sqlite,whatever change i am doing in app its resembling widget too so no problem unto here, but when i update any thing in widget , its…
0
votes
0 answers

Passing data between iOS apps using App Groups

I have two apps - rider and driver. If the driver accepts a request from the rider, the variable acceptedRyde changes from false to true - this needs to be passed to the rider app to trigger an alert to the rider that the ride has been accepted. …
LizG
  • 2,246
  • 1
  • 23
  • 38
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
1
2