Property 'frame' not found on object of type 'ad'

I am trying to move a button in Xcode, but I am getting an error. Ad is the name of my button. Here is my code


CGRect frame = ad.frame; //Property 'frame' not found on object of type 'ad'

frame.origin.x = 129;

frame.origin.y = 401;

ad.frame = frame; //Property 'frame' not found on object of type 'ad'

xcode-OTHER, OS X Mountain Lion (10.8.4)

Posted on Oct 12, 2013 5:02 PM

Reply
2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Property 'frame' not found on object of type 'ad'

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.