I am trying to apply Mike Chen's answer here, using SDK 3.0. In delegate.m file I implement;
[viewController.view addSubview:[[objc_getClass("PLCameraController") sharedInstance] previewView]];
and in viewcontroller.m I implement:
CapturedImage = [[objc_getClass("PLCameraController") sharedInstance] _createPreviewImage];
but CapturedImage is always nil. Any suggestions?