Post

Replies

Boosts

Views

Activity

Problem with Touch ID and Scroll in Monterrey
I have the 2021 24" iMac with M1 and am using it with the included Magic Keyboard with Touch ID and Magic Mouse. I have found that the Touch ID functionality and the touch-scroll functionality of the accessories will often (but not always) fail after the iMac wakes from sleep. For example, I just woke the iMac from sleep after nearly 24 hours since I last used it. I woke it by moving the Mouse, which worked as always. I was prompted for Touch ID to log in, but resting my finger on the Touch ID sensor had no impact. It wasn't like a bad fingerprint scan - it was like it didn't try to scan at all. I logged in by manually typing my password, then opened Safari and browsed the web. I normally scroll up and down by swiping my finger up and down the top surface of the Magic Mouse, but this time it didn't work. The mouse did not respond to swipes at all. Mouse clicks and normal moves still worked fine. When I visited a page with my password saved in safari, I was prompted for Touch ID to autofill the password. Again, resting my finger on the Touch ID sensor had no effect. I was able to type my password just fine - all the keyboard buttons work, it just isn't scanning my finger. This has been occurring for the bast few betas and even the current RC2. I've created the bug report for apple. Is anyone else experiencing this?
2
0
1.3k
Oct ’21
DateComponents configuration for x months
I'm writing an app that needs to present repeating notifications on a schedule. The schedule will be every x months, where x is a number 1-72. So, it could be every 1 month, every 7 months, every 45 months, etc.. This is my first venture into user notifications, and I'm struggling with the DateComponents piece. I see the documentation says DateComponents.month = a month or count of months. I interpret that to mean that the value could be an Int to represent a specific month (like 1 = January) or an Int to represent the number of months used for repetition (ex: 2 = every 2 months). For my test, I wanted to manually create a user notification trigger that would repeat every 1 month on the first day of the month at 7:00am. var dateComponents = DateComponents() dateComponents.calendar = Calendar.current dateComponents.month = 1 dateComponents.day = 1 dateComponents.hour = 7 let trigger = UNCalendarNotificationTrigger(dateMatching: dateComponents, repeats: true) That didn't work as expected. It created the notification for January 1st at 7:00am, rather than the 1st of each month. I expect it would have repeated on the next calendar year. What am I doing wrong? What is needed to achieve my goal of repeating every x months?
4
0
1.3k
Aug ’21