I have an messenger app with a Notification Service Extension for handling notifications and runs an AFHTTPSessionManager
service. When I receive the first notification I get a SIGPIPE error and the extension crashes and I lose all the notifications in the notification center.
How can I ignore SIGPIPE in a Notification Service Extension?
How can use signal (sigpipe sig_ign)?