%hook HKDateModel
- (long long)stepCount {
return 12001;
}
- (float)ditanceRun {
return 50000;
}
- (float)kcalorie {
return 2000;
}
%end
%hook HKDetailModel
- (long long)stepCount {
return 12002;
}
- (float)ditanceRun {
return 50000;
}
- (float)kcalorie {
return 2000;
}
%end
%hook SpriteDrawerView
- (long long)stepCount {
return 12003;
}
%end
%hook TencentLBSMotionManager
- (long long)stepCount {
return 12004;
}
%end
%hook HealthKitManager
- (id)init {
return nil;
}
%end
尝试了hook这几个方法,但是没有成功,有研究过的可以大家探讨一下