Hello all!
Why does the classic spinning wheel ProgressView when specifying the style for the circular band/ring? Additionally, if the progressViewStyle modifier is not added to the ProgressView, a progress bar is displayed to the indicated percentage (33%) instead of the default spinning wheel. - Unless, that is I got the wrong end of the stick...
ProgressView("Completed", value: 0.33) .progressViewStyle(CircularProgressViewStyle())
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
The requestAuthorization method in WorkoutManager wants to read HR, energy, distance and "activity" information all of which are HKQuantityTypes.
//The quantity types to read from the health store
let typesToRead: Set = [
HKQuantityType.quantityType(forIdentifier: .heartRate)!,
HKQuantityType.quantityType(forIdentifier: .activeEnergyBurned)!,
HKQuantityType.quantityType(forIdentifier: .distanceWalkingRunning)!,
HKQuantityType.quantityType(forIdentifier: .distanceCycling)!,
HKObjectType.activitySummaryType()
]
The documentation for HKObjectType states:
The HKObjectType class is an abstract class. You should never instantiate an HKObjectType object directly. Instead, you always work with one of the following concrete subclasses:
... HKQuantityType
Replacing
HKObjectType.activitySummaryType()
with
HKQuantityType.activitySummaryType()
in the above code doesn't appear to cause any issues with the app. Intuitively, it should work exactly the same since HKQuantityType (being a concrete subclass of HKObjectType) inherits directly from HKObjectType.
Is my understanding correct or have I missed something fundamental?
If my thinking is correct, why is HKObjectType used in the sample code when all of the other set elements use the HKQuantityType subclass?
Topic:
App & System Services
SubTopic:
Core OS
Tags:
watchOS
Health and Fitness
UI Frameworks
wwdc21-10009
Unlocking the phone occasionally freezes, hangs, lags and is generally unresponsive for a period of up to 30 seconds. The issue is not affecting every unlock, but its frequency is enough to be irritating to say the least. Out of 27 pickups today, easily 50% have presented an unresponsive UI.
There is 86GB/128GB storage available, and the issue was first noticed with an iOS 14 beta, suggesting that the issue may be software related.
Others have reported iOS 14 issues elsewhere, anyone else experiencing this or something similar?
After update to iOS 14.2 (18B92) on iPhone, no trace of the Feedback Assistant app can be found on device.
Alert: “A new iOS update is now available. Please update from the iOS 14 beta”
In Settings/general/Profile there is only an option to Remove Profile.
After removing the profile, backing-up and archiving the iPhone backup, a new profile was downloaded from beta.apple.com/profile, but alert persists.
It seems that other developers are experiencing similar issues.
Any ideas for resolving this issue?