Assuming it -viewDidLoadis in the same class, use
[self myMethod]
selfHere is an automatic link to the current instance of the object. If you want to call a method on another object stored in a pointer otherObj, this will be
[otherObj myMethod]
source
share