Skip to content

Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named UIStoryboardShowSegueTemplate' #40

@LustySwimmer

Description

@LustySwimmer

在项目设定支持到iOS7时,storyboard中controller的build for选择iOS9.0 and later,这种情况下当使用storyboard instantiateViewControllerWithIdentifier:@"XXXXX"或者instantiateInitialViewController取得视图控制器时,会报Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named UIStoryboardShowSegueTemplate错误,工程直接挂掉,而其他没有使用stackView没有改变build for这个选项的storyboard则不会有这种问题

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions