If you remember, my app creates a timer to control the execution of the main loop. It doesn’t however delete the timer. As a result, when you close the app, the timer is left behind which is untidy. Here I use the UIFigureCloseRequest callback to stop and delete the timer when the app closes.
Once again, I’m using a larger desktop to give more real-estate for App Designer, so you really need to view the video at full screen. Features covered in this code-along style video include:
Follow me (@stuartmcgarrity) if you want to be notified via Twitter when I post.
To leave a comment, please click here to sign in to your MathWorks Account or create a new one.