I have a button that I need to move on viewDidLoad but it doesn’t want to move…
strange thing is that if I use the same exact code on a -(IBAction) then it moves as it should… any clue why is this happening?
the code I’m using to move the button is this:
self.myButton.center = CGPointMake(50, 120);
thanks for any help.
Peace,
Massy
For anyone that run in the same problem I found the solution in this tread: presentViewController: crash on iOS <6 (AutoLayout)
removing the “Use Autolayout” option let my app work fine.