Posts

Post marked as solved
1 Replies
566 Views
I am running this code: healthStore.requestAuthorization(toShare: types, read: types) { (success, error) in 						if !success { 								fatalError("we ned that data to shar to fcebok") 						} else { 						} 						 				} Then I get an error at runtime: _NSCFString * "*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil" 0x0000600003fd4af0 Is this HealthKit? I can't seem to see what I am doing wrong. By the way, the fatal error message is a joke.
Posted
by Dr_Beta.
Last updated
.