Skip to content

Achieve "canBecomeFirstResponder" not start debugging interface #12

@p709723778

Description

@p709723778

1.UIViewController

  • (BOOL)canBecomeFirstResponder
    {
    return YES;
    }

Return to "YES" when not activated, the case "NO" is possible

Shake the phone to realize it, the method must return YES

  • (void)motionEnded:(UIEventSubtype)motion withEvent:(UIEvent *)event
    {
    if (motion == UIEventSubtypeMotionShake) {
    }
    }

I hope the author will give you a solution, thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions