Hi everyone! Need your help with old one sample* from Christen Blom-Dahl:
objc_msgSend((FStillImageOutput as ILocalObject).GetObjectID,
sel_getUid('addObserver:forKeyPath:options:context:'),
FVideoCaptureDelegate.GetObjectID,
(NSSTR('capturingStillImage') as ILocalObject).GetObjectID,
NSKeyValueObservingOptionNew,
(FAVCaptureStillImageIsCapturingStillImageContext as ILocalObject).GetObjectID);
* article + listing
I have an error message "Too many actual parameters", of course. And don't know what should I do now in Delphi 10.3.3. Found a similar question but it is unanswered too.
Any suggestions?