How can I access the mental health record in healthKit to use it in my app?
I am developing an application that records how the user feels in some circumstances. At WWDC23, a new iOS application was presented that records this type of data in the health application. I would like to know if it is available to use it in my applications
Post
Replies
Boosts
Views
Activity
Tried this simple code, to see if hover effect is suitable for my app, but nothing happened, looks like never detects hover action, I runned in simulator and physical device (iPhone 13)
Im using iOS 15.2 in Xcode 13.2.1:
import SwiftUI
struct HoverEffectView: View {
var body: some View {
Button(action: {}){
Text("Button")
.padding()
}
.contentShape(RoundedRectangle(cornerRadius: 8, style: .continuous))
.hoverEffect()
Text("Hello Word")
.padding()
.contentShape(RoundedRectangle(cornerRadius: 10,style: .continuous))
.onHover{ hover in
print("hover")
}
}
}
Try to modify Locale in previews, to see how it looks but it didn't work,
Code:
import SwiftUI
struct SettingsView: View {
var body: some View {
VStack {
Text("Current Locale : (Locale.current.identifier)")
Text("Hoy es: (dateToString(Date()))")
}
}
}
struct SettingsView_Previews: PreviewProvider {
static var previews: some View {
SettingsView()
.environment(.locale, Locale(identifier: "es_AR"))
SettingsView()
.environment(.locale, Locale(identifier: "fr"))
}
}
After I upgrade to Xcode - 13 I have this problem, every time I try to generate preview in any file, Xcode take more than a minute and the system runs out off application memory:
then system become unstable and never recover even closing Xcode, I try restarting but the system hangs and need to make a force shutdown.
I reinstalled Xcode more than once and still have the issue. Im running on intel MacBook Pro 2020 BigSur 11.6
In CoreML i created a image classification app with a dataset of plants ( about 1000 classes). Now I want to add new plants ( 50 new classes). Is there a way to add this new classification classes to the already trained model, with no need to retrain with all 1050 classes?. Thanks
Hi, im trying to migrate my datasets from differents formats to CreateMl, is there any document or tool to create json files with annotations, directory estructures and file format ? thanks