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 trial
Kai Aldag
Courses Plus Student 13,560 Pointslabel missing
hey guys so the issue is in my simple app I'm making the label isn't showing. this has been happening a lot in many of my apps and i just want to know if this is happening to other people and how to fix it. here is my project: https://www.dropbox.com/sh/7mklo81qz5b38kz/ANvbdJSSgq
1 Answer

Amit Bijlani
Treehouse Guest TeacherIf you run your app in the 4 inch simulator then you will be able to see the label. Check out the video on Auto Layout to see how you can adapt your app for the two screen sizes.
Kai Aldag
Courses Plus Student 13,560 PointsKai Aldag
Courses Plus Student 13,560 Pointsthank you Amit Bijlani but now do you know why it's counting by 4.
Amit Bijlani
Treehouse Guest TeacherAmit Bijlani
Treehouse Guest TeacherYou should not be using a pointer. When using
int
simply use it as is and not*int
. If you are confused as to what they two are then please make sure you go through the Objective-C Basics course. When you increment the counter you are incrementing the pointer to anint
and not simply the int value.