Post

Replies

Boosts

Views

Activity

How to add/test my widget in Notification Center in macOS Big Sur?
I'm running the latest macOS Big Sur beta 9, and I have an AppKit app and added a widget extension using Xcode 12.2 beta 2. I can run my widget using WidgetKit Simulator and it's working great. However, when I click the date/time on the menu bar to show the Notification Center and click the "Edit Widgets" at the bottom, I don't have my app listed in the list of apps. I tried copying my app's executable and put it in the "Application" folder, but the app still does not show up. So how can I add/test my widget in Notification Center? Thank you.
3
0
1.2k
Oct ’20
How to prevent automatic scrolling of UIScrollView during drag & drop?
Hi,When dragging a view inside UIScrollView using UIDragInteraction/UIDropInteraction, the scroll view *automatically* scrolls as you drag your view near the edge of the screen. How can you prevent this behavior? I want to disable *only* the automatic scrolling, not the scrolling itself, so that the user can scroll with the second finger if he so chooses. I know I can disable scrolling using isScrollEnabled, but this will also disable the user-initiated scrolling. Thanks.
Topic: UI Frameworks SubTopic: UIKit Tags:
3
1
8.3k
Apr ’19