Xcode does not find button

0

I created a button on storyboard to connect to a viewController .

Clicking the button causes the error:

  

thread 1: signal SIGARBT

What could be causing such an error?

I've seen many tutorials and nothing.

    
asked by anonymous 14.07.2015 / 13:15

2 answers

2

Fabio, I made a very simple example of capturing a click on a button:

  • I created a "Single View Application" project
  • In the ViewController.m file, I implemented callback for the click
  • Inthestoryboard,Iaddedthebuttonandrightclickedonit.ThenIcalledthe"Touch up inside" event in ViewController.
  • 14.07.2015 / 14:34
    0

    This error occurs when the storyboard is not properly connected to the viewcontroller. Right click on the button and see where it is pointing. This will be in Sent Events.

    You can delete the link and make another or even call the code that is already in the viewcontroller

    I hope I have helped

        
    17.07.2015 / 13:48