Posts

Post not yet marked as solved
1 Replies
81 Views
Hello everyone! I am wondering how to make one of those cards that sticks to the bottom of my view in SwiftUI. An example of this is in Apple Music where the now playing item and controls stay at the bottom throughout the navigation movements. Thank you and hope you having a great WWDC!
Posted Last updated
.
Post marked as solved
2 Replies
1k Views
I have a 3d camera app that I'm working on and I am wondering how to put the two videos side-by-side to save to Photos as one video using this delegate method: func fileOutput(_ output: AVCaptureFileOutput,                         didFinishRecordingTo outputFileURL: URL,                         from connections: [AVCaptureConnection],                         error: Error?) { Thank You!
Posted Last updated
.
Post marked as solved
2 Replies
1.3k Views
Hello, I've recently added a widget extension to my app. But I've been having trouble sharing data between the two using UserDefaults. Code Shared Code var AppGroup: String {     "group.someGroup" } Main App UserDefaults(suiteName: AppGroup)!.setValue(data, forKey: "TimeLine") // sets the value for main app. Widget Extension let data = UserDefaults(suiteName: AppGroup)!.data(forKey: "TimeLine") // can't get the value in extension. App groups are turned on in both targets, but the data is not shared. Any ideas as to why this is happening would be appreciated. Thank you.
Posted Last updated
.