My app is crashing on every screen at app delegate where ever I have used label and textfields. When the tags are removed app is working fine but is crashing again when connected to swift file again.
Asked
Active
Viewed 236 times
1
-
1Check the labelPriceInCell outlet in the IB. – Midhun MP Nov 24 '15 at 12:10
-
Yeah @Midhun MP outlet connected but does not exist in controller .h or .m file – Muhammad Zohaib Ehsan Nov 24 '15 at 12:23
-
check outlet labelpriceInCell in a xib – Maulik shah Nov 24 '15 at 12:40
-
You need to remove that outlet and check again – Midhun MP Nov 24 '15 at 13:19
1 Answers
1
If you have this type of error
STEP 1:Go XIB or if use STORYBOARD go STORYBOARD
STEP 2:Click View Controller
STEP 3:Again Give connection properly(Fill the circle)
STEP 4:Also check whether it is for button action or outlet property
Very Important: Right Click the File's Owner(Yellow Color) and Click on the "Connection Inspector" (upper right arrow), to see all outlets at once. Look for !s which indicates a missing outlet.Remove that. Now it works.

user3182143
- 9,459
- 3
- 32
- 39