I'm making an app where you can post in your friends' facebook wall, the issue is that the friends are appearing in a independent UIView that I'm adding on the current view, during the while I'm waiting for the friends' view to appear, I'm touching the screen & the buttons have been pushed before the view is appearing on the screen, & even more than one button (when I have 'self.userinteractionenabled = NO;' when you press a button). How could I solve this? I can set theView.userinteractionenabled = NO; when i'm initializing the view, & switch it to YES when the view is on screen. how can I know for sure when the view is on screen? Thank you in advanced
Asked
Active
Viewed 48 times
1 Answers
1
About how to check if the view is visible, try with this:
How to tell if UIViewController's view is visible
And then do what you were planning on doing, it has sense.

Community
- 1
- 1

Antonio MG
- 20,382
- 3
- 43
- 62