Pages

Sunday, October 13, 2013

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'


View the original article here

0 comments:

Post a Comment