Please i am in the middle of the work that's why i couldn't repeat the whole stuff from the beginning for a simple trick. I use a view based application template and i have 2 views, the first view is my menu view, which contains 3 buttons, each buttons send me to another view, now, in these one of these "another view", i need to make a custom back button (with that shaft), i see tutorials but they use another method of work which is not useful to me.
Here is a part of my code in my first view(the menu) which concern my problem :
@implementation TopStationViewController
-(IBAction)goToAproposView {
aproposViewController.modalTransitionStyle=UIModalTransitionStyleFlipHorizontal;
[self presentModalViewController:aproposViewController animated:YES];
}
and here my code in one of the second view (in which i want to make the custom back button),
#import "AproposViewController.h"
@implementation AproposViewController
-(IBAction)goBackToMainMenu{
[self dismissModalViewControllerAnimated:YES];
}
Thanks in Advance!