将segue从一个UIViewController推送到另一个UIViewController时出现SIGABRT错误

时间:2017-03-06 14:36:58

标签: ios xcode

我正在制作一个简单的应用,我已使用UIViewController通过按钮将一个Push segue与另一个SIGABRT error相关联,但当按下该按钮时,它会UIViewController,我可以& #39;弄清楚原因?

我还检查了与此按钮相关的任何其他段,我必须将其删除,但没有其他触发的段落。

这是我的 @IBOutlet weak var menuButton: UIButton! let transition = CircularTransition() override func viewDidLoad() { super.viewDidLoad() menuButton.layer.cornerRadius = menuButton.frame.size.width / 2 } func dismissKeyboard() { view.endEditing(true) } func animationController(forPresented presented: UIViewController, presenting: UIViewController, source: UIViewController) -> UIViewControllerAnimatedTransitioning? { transition.transitionMode = .present transition.startingPoint = menuButton.center transition.circleColor = menuButton.backgroundColor! return transition } func animationController(forDismissed dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? { transition.transitionMode = .dismiss transition.startingPoint = menuButton.center transition.circleColor = menuButton.backgroundColor! return transition } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() } } 代码,我有这个简单的圆形动画。

@ControllerAdvice
public class FooControllerAdvice {
    @InitBinder
    public void initBinder(WebDataBinder binder) {
        binder.registerCustomEditor(
            Date.class, 
            new CustomFooEditor()
        );
    }
}

1 个答案:

答案 0 :(得分:0)

如果要通过故事板检查图像添加表格或删除表格以断开连接....

enter image description here