Can't create IBAction ctrl-dragging UIButton to ViewController (Xcode Version 7.2) -
in middle of creating app, xcode quit allowing me ctrl-drag uibuttons vcs creating ibactions. happens on every vc (nine in all). allow creating outlets, though. (pls see image -> no action selection showing)
xcode version 7.2 (7c68) build target ios9.
is there way fix this?
some things try:
make sure using 1 of "sent events" create ibaction - not triggered segue (that describing) or other connection.
try connecting not via ctr-drag, via right click menu or connections menu.
try adding code:
@ibaction func myaction() { }
... clear circle should appear, can connected via dragging button in ib. create touch inside event.
finally, restart project , try again.
Comments
Post a Comment