Why this happen

why if i add this on my code if give error when i run on simulator but when i erase this delegate its work fine…

What is the error? Please post the entire error message.

It’s probably something simple to fix, but it’s hard to know what is wrong without seeing the error message. :wink: