• Как отобразить push уведомление, когда приложение активно?

    @AlessandroDP
    The method will be called on the delegate only if the application is in the foreground. If the method is not implemented or the handler is not called in a timely manner then the notification will not be presented. The application can choose to have the notification presented as a sound, badge, alert and/or in the notification list. This decision should be based on whether the information in the notification is otherwise visible to the user.

    - (void)userNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(void (^)(UNNotificationPresentationOptions options))completionHandler
    {
            completionHandler(UNNotificationPresentationOptionAlert);
    }
  • Залипают ли клавиши на macbook pro 2017?

    @AlessandroDP
    Все нормально, в пользовании полгода. Вот жена залила чаем с медом клаву - снимаются для чистки на изи: сверху две защелки и все. Единственная сложность снять пробел, оооч аккуратно нужно.