2,025 questions
0
votes
0
answers
12
views
Source of applicationDidBecomeActive: user vs. bug?
I have an Objective-C app that sometimes takes over focus without the user actively switching to it. I want to track when this happens, so I can have a dump and analyze why this happens.
For this ...
0
votes
0
answers
45
views
How to handle the conflicting orientation masks between UIViewController and AppDelegate
I noticed that the Apple official documentation for UIViewController describes handling view rotation as follows:
The intersection of the app’s orientation mask and the view controller’s orientation ...
0
votes
1
answer
530
views
How can I retrieve the APNs before the FCM token in Firebase specifically?
Before encountering the error, I was using Xcode which had Firebase installed. At around 12pm today, I began encountering an error that looked like this
APNS device token not set before retrieving FCM ...
2
votes
1
answer
63
views
macOS 15: Clicking Dock Icon Opens Two Windows
Prior to macOS 15, when the user closed all windows and then clicked the Dock icon, the app wouldn't reopen a window. To handle this, I added the applicationShouldHandleReopen method in the ...
0
votes
0
answers
41
views
Collection View coming up empty and with mixed items
I have written the below code to show collections and products from a store. I have used multiple HList1 component and HList2 component on the screen. The issue is when I fast scroll down the Home ...
0
votes
0
answers
65
views
ios carplay implementation without using scene lifecycle
I'm trying to imeplement CarPlay into a legacy Cordova app that uses AppDelegate inernally.
I can't seem to be able doing it as the CarPlay API seems to require UIApplicationSceneManifest while the ...
0
votes
0
answers
91
views
i an having errors while setting up the AppDelegate.mm while upgrading my project to RN 0.74.0
@import Firebase; :- this is giving the following :--Use of '@import' when C++ modules are disabled, consider using -fmodules and -fcxx-modules
self.moduleName = @"BookerTools"; this is ...
0
votes
0
answers
59
views
SwiftUI Window not draggable
I made a custom AppDelegate which should remove the window toolbar and add a corner radius of 10px which all works very well hoeever now, you can't drag the window around.
I am also very new to AppKit ...
0
votes
0
answers
173
views
Method in Appdelegate applicationWillTerminate not being called using SwiftUI iOS
I have an app which is setting up a VPN connection via Wireguard framework. App is using AppDelegate Lifecycle even if in SwiftUI. I'm using a real device.
I need to close my VPN connection started ...
0
votes
2
answers
718
views
How can I define a SwiftData modelContainer in an "AppDelegate" rather than an "App"?
I have a working project using SwiftData that is entirely built with UIViews. Essentially, the user will tap an answer on a UIView, and add a row to my SwiftData output. This works as expected. I ...
0
votes
0
answers
51
views
Is it possible to pass data from the View Hieracrchy to the App Delegate without using a Singleton?
I want to access data that is populated into Environment Objects during the lifetime of my application in my AppDelegate's applicationWillTerminate() function.
I've looked around Stack Overflow and ...
-2
votes
1
answer
84
views
Implementing Facebook App Events in Legacy iOS Project Without Scene Delegate
I'm working on a legacy iOS project where the AppDelegate file exists, but there's no SceneDelegate. I need to implement Facebook App Events following the guidelines provided here:
Facebook App Events ...
0
votes
0
answers
155
views
Anyone have success configuring react-native-home-indicator?
I'm attempting to hide the iOS app home indicator in React Native with no success. Research eventually led me to the react-native-home-indicator package.
Step 3 of the ReadMe instructs one to ...
0
votes
0
answers
23
views
Open View When Notification Tapped
It should be a simple feature, but I'm stuck with no luck. I just want to be able to tap a notification and have it open a basic ViewController with a label showing the notification. However, nothing ...
1
vote
1
answer
274
views
'RNAppAuthAuthorizationFlowManager.h' file not found
I'm getting the error "'RNAppAuthAuthorizationFlowManager.h' file not found" on AppDelegate.h every time I build my app after migrating from react-native 0.61.5 to 0.69.12.
AppDelegate.h:
#...