Quantcast
Channel: Apple questions and answers » thread
Viewing all articles
Browse latest Browse all 76

Thread 1: signal SIGABRT

$
0
0

Hi everybody!

I try to launch my first iPhone application, but I’ve got a problem. When I click on the button (message) which permit normally to change to another view (message view), I’ve got the error “Thread 1: signal SIGABRT”. I checked on Internet, and I tried to uncheck “Use Auto Layout” and tried to build for earlier version for iOS (I worked for iOS 7.0 and later), but the problem still existing. I checked also my outlets from the message view, and I think that everything is good. And I don’t have this problem for my other views.

The problem appears when I tried to drag a Textview in order to change it in my .m file:

– I type  @property (strong, nonatomic) IBOutlet UITextView *aLabel; in order to declare this textview in my .h file

– I drag a line from the Connections Inspector (where is marked aLabel) to the TextView which is in the storyboard

– In my .m file, I just declare it like @dynamic aLabel; in order to type after self.aLabel.text = @”…”;

If I delete this 3 steps, I don’t have this error.

Someone can help me please ?

Thanks a lot. 


Viewing all articles
Browse latest Browse all 76

Latest Images

Trending Articles





Latest Images