Posts

Post not yet marked as solved
0 Replies
533 Views
I’m developing a new widget with network connection that will make one connection per minute. However, I saw many tutorials that handle networks-related tasks inside the WidgetProvider, while others perform these tasks periodically in the background of the app. Which option is the most recommended? Is there a right one?
Posted
by dev_agg.
Last updated
.
Post not yet marked as solved
3 Replies
1.1k Views
Hello everyone, I'm trying to integrate a SwiftUI TextField component into a UIViewController. But any kind of tutorial I've seen, have this implementation: let childView = UIHostingController(rootView: SwiftUIView()) addChild(childView) childView.view.frame = frame view.addSubview(childView.view) childView.didMove(toParent: self) But, when I do this, my Navigation Bar disappear. But when I remove the "addChild" peace of code, everything works well. Is this a wrong thing to do? Can I remove this part of code?
Posted
by dev_agg.
Last updated
.
Post not yet marked as solved
1 Replies
719 Views
Hello everybody, I've been implementing new SwiftUI screens in my project integrated with my storyboard. I have one main storyboard with an UITabBarController and some others UIViewControllers as Root ViewControllers. Now, I'm creating a new view, with SwiftUI and HostingViewController, but I realised this view is called before the didFinishLaunchingWithOptions from AppDelegate. I initialise my SwiftUI View in required init inside the HostingViewController like some tutorials, but how can I create this screen without this problem? I tried initialise this view outside of init, but I've received other errors.
Posted
by dev_agg.
Last updated
.
Post marked as solved
2 Replies
1.9k Views
I'm testing some combinations of universal link on my app, but im facing a lot of issues because of caching from AASA (apple-app-site-association) on device. What can I do to refresh this file on iOS?
Posted
by dev_agg.
Last updated
.
Post not yet marked as solved
0 Replies
657 Views
Hello, I'm splitting an app into little frameworks, but I have some doubts. Can I create this dynamic framework using Xcode, and import others libraries inside this framework using Swift Package Manager? What's the best method to do this? Some advice? I haven't started creating this framework using the swift package manager, should I do this?
Posted
by dev_agg.
Last updated
.