objective c - uibutton setframe not working no auto layaout enabled -


i have uibutton want change position depending on device code:

[self.notification setframe:cgrectmake(12, 495, 17, 18)]; 

does not work @ all! no auto layout enabled. thoughts?

any appreciated.

the problem button moving, self.notification invisible; have set hidden yes. moving, cannot see move, because cannot see @ all. perhaps not button think is!


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -