Relative Content

Tag Archive for c++iosswiftxcodenotifications

Local Notification not working – userNotificationCenter(_:willPresent:withCompletionHandler:) not getting called in foreground with C++ interop

I have a Swift/iOS application that uses storyboards and implements local notifications using UNUserNotificationCenter. The notification code works perfectly in all my other applications. However, in this particular app, I have a requirement to enable C++ / Objective-C++ under Build Settings -> Swift Compiler – Language -> C++ and Objective-C Interoperability.