[SOLVED] In the Dicee app both dice aren't functioning as expected

Issue

I’m following along with one of Angela Yu’s courses, I’ve been copying her step by step and both of our code is identical however when she runs this in the simulator the first die increases from 1 and the second die decreases from 5 however when I run this the second die doesn’t change at all, please let me know if i’m missing something here!

Image1

Solution

From the looks of things, code and logic wise everything seems to be in order.

Most probably diceImageView2 is not wired up properly as an outlet from your storyboard so that would be the first place I’d check.

Answered By – Shawn Frank

Answer Checked By – Gilberto Lyons (BugsFixing Admin)

Leave a Reply

Your email address will not be published. Required fields are marked *