在UXSDK 4.8.x中似乎打破了DUXCameraSettingsController

loading...


1

从4.7.1升级到4.8.x SDK后,DUXCameraSettingsController停止显示实际设置面板,但继续显示设置选项卡栏,按下选项卡不会显示任何设置 . 这是UXSDK中的错误还是我只是使用控制器错了?我找不到关于该特定控制器使用的任何示例 .

- (UIView *)view
{
  UIView *view = [UIView new];
  DUXCameraSettingsController *ctrl = [DUXCameraSettingsController cameraSettingsController];
  ctrl.view.translatesAutoresizingMaskIntoConstraints = NO;
  ctrl.view.frame = view.frame;
  [view addSubview:ctrl.view];
  [ctrl.view.topAnchor constraintEqualToAnchor:view.topAnchor].active = YES;
  [ctrl.view.bottomAnchor constraintEqualToAnchor:view.bottomAnchor].active = YES;
  [ctrl.view.leadingAnchor constraintEqualToAnchor:view.leadingAnchor].active = YES;
  [ctrl.view.trailingAnchor constraintEqualToAnchor:view.trailingAnchor].active = YES;
  [ctrl didMoveToParentViewController:nil];
  return view;
}

loading...

0回答

No Data

评论

暂时没有评论!