Post

Replies

Boosts

Views

Activity

HomeKit HMLocationEvent region parameter becomes nil
MLocationEvent *aEvent = [[HMLocationEvent alloc] initWithRegion:region];                 [self.eventTrigger updateEvents:@[aEvent] completionHandler:^(NSError * _Nullable error) {                                      }]; When I call it, I get the trigger again, and the region has a value, but when I cut off the app and re-enter, the region parameter will become nil. Why?
1
0
434
Jul ’20