objective c - Why is my custom delegate method not being called? -


I have a view controller with 4 buttons (homepage) and then a tabbed controller with 3 view controllers. One of the view controllers of TabBarController, I want to use a tabber icon as a way to go back to the "homepage". I am connected to a custom class that I called "Homeview Controller" for that view controller. See the picture below

Enter image details here

Home VIPU Controller File. I have created a protocol with a method called "return toohompepe"

Enter image details here

Home ViUi Controller Whenever the file loads the file, it calls the representative. Enter image details here

In my homepage view controller. File I have to make sure that the file protocol follows Enter image details here

HomepageViewController File

I instantly set an example of HomeViewController and set myself up, but never called the homepage method again! Not sure what I'm missing ... Enter image details here

I think before you are representative representative set you are calling the representative method.

When you call the alloc-init controller, it is called Start and Viewedload ... and then you set the delegate ... then it

  [self.delegate returnToHomepage];  

is said before

  homeVC.delegate = self;  

Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -