Skip to main content

Questions tagged [appdelegate]

In iOS, the app delegate is responsible for managing the app throughout its lifecycle by responding to events such as launch and termination.

appdelegate
0 votes
0 answers
28 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 ...
Dharni Gupta's user avatar
0 votes
0 answers
26 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 ...
Karl Ehrlich's user avatar
0 votes
0 answers
88 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 ...
biggreentree's user avatar
  • 1,705
0 votes
2 answers
274 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 ...
Daniel Blumberg's user avatar
0 votes
0 answers
46 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 ...
RadiantReasons's user avatar
-2 votes
1 answer
50 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 ...
sangam pokharel's user avatar
0 votes
0 answers
79 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 ...
2obvious's user avatar
0 votes
0 answers
20 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 ...
user717452's user avatar
0 votes
0 answers
128 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: #...
João Raffo's user avatar
0 votes
1 answer
40 views

The code of the AppDelegate class in Xcode suddenly became colorless

all of a sudden, the code within the AppDelegate class in Xcode lost its color. There are no color issues in other classes, only in the AppDelegate class.I have no idea how to solve it. I restarted ...
Ozan's user avatar
  • 11
0 votes
1 answer
151 views

How to block screenshot in flutter ios application?

I am trying to block screenshot in my flutter ios app but it's not working. User is still able to take screenshot in his device. Could you please help me to implement blocking screenshot in my flutter ...
Kafiul Islam's user avatar
0 votes
2 answers
64 views

Swift webview device token

I am testing in Swift to send notifications with Firebase and in general it's working. When i will send a notification to one user, i need the device token of this user. I guess this is not the same ...
Patrick De Wolf's user avatar
0 votes
1 answer
71 views

Swiftui redirect to another view from SceneDelegate

When a specific url is opened we enter to this function func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>) { i need to go to a specific screen what i tried ...
tamtoum1987's user avatar
  • 2,037
0 votes
1 answer
250 views

How to write the new RCT AppDelegate interface with User Notifications in ios on react-native

I've recently upgraded my react-native SDK version to 0.73, But according to the Upgrade Helper here the AppDelegate interface definition changed from @interface AppDelegate : UIResponder <...
ofundefined's user avatar
  • 3,162
0 votes
0 answers
79 views

how to pin ssl in react native project (ios)

i wanted to pin ssl to my backend server, i have genereted ssl key, i was following this tutorial https://www.callstack.com/blog/ssl-pinning-in-react-native-apps but after lunching app i have errors ...
Adrian Cielniak's user avatar

15 30 50 per page
1
2 3 4 5
135