I have a textfield (created using IB) that has an outlet connected to App Delegate. Accessability is enabled.
I have a class for IAP, where I need to update that textfield. It is not visible from my code.
How do I do this?
I have a textfield (created using IB) that has an outlet connected to App Delegate. Accessability is enabled.
I have a class for IAP, where I need to update that textfield. It is not visible from my code.
How do I do this?
This is pretty simple to do, you need to do 2 things:
1: Expose the outlet in a public property, inside your appdelegate:
2: Access your AppDelegate from another class: