Apparently this was my mistake. I was calling WKApplication.shared().scheduleBackgroundRefresh() in MainViewModel.init(), but if I call it in applicationDidBecomeActive(), everything seems to be working!
I was just wondering about this, too! I’d like to use the clear type to re-create a visual effect similar to the see-through effect you get when touch-and-holding controls like UISwitch or UISlider.
That is a "regular" effect where the background is blurred. The "clear" effect does not blur the background, except around the edges. The "clear" effect is seen on controls like the tab control, the slider or switches when you drag it, etc.
Or, when you pull down the notification center from your home screen. Here, you will clearly see the app icons behind the glass, except around the edges.
Apparently this was my mistake. I was calling WKApplication.shared().scheduleBackgroundRefresh() in MainViewModel.init(), but if I call it in applicationDidBecomeActive(), everything seems to be working!
I was just wondering about this, too! I’d like to use the clear type to re-create a visual effect similar to the see-through effect you get when touch-and-holding controls like UISwitch or UISlider.
That is a "regular" effect where the background is blurred. The "clear" effect does not blur the background, except around the edges. The "clear" effect is seen on controls like the tab control, the slider or switches when you drag it, etc.
Or, when you pull down the notification center from your home screen. Here, you will clearly see the app icons behind the glass, except around the edges.