Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialLudwing Najera
4,596 PointsFunFact app crashing when IBAction Button is pressed.
My FunFact app crashes on this string when I press the IBAction button, and what is happening?
@IBAction func showFunFact() {
funFactLabel.text = "Another interesting fact"
}
}
agreatdaytocode
24,757 PointsOpen your storyboard file. Right click on the button and make sure you have only one connection listed. You may have a conflicting connection attached to it.
1 Answer
Ludwing Najera
4,596 PointsOk, i got it fixed. i added an All Exceptions breakpoint and that seemed to do the trick.But anyway, Thanks for the suggestions!
Stone Preston
42,016 PointsStone Preston
42,016 Pointswhat information is in the console whenever the app crashes