I have a UITableViewController
that is correctly configured and running. let's say the class of this controller is called : tableViewController. On this table, i have a UIBarButton
present on the left of the view created like this :
UIBarButtonItem *userProfile = [[UIBarButtonItem alloc] initWithTitle:@"Profile" style:UIBarButtonItemStylePlain target:self action:@selector(userProfileGo:)];
self.navigationItem.leftBarButtonItem = userProfile;
self.navigationItem.leftBarButtonItem.tintColor = [UIColor whiteColor];
I already created another view controller called userProfileViewController
, in which the user can access their profile, it is already configured and pushed on userProfileGo this way :
[self performSegueWithIdentifier: @"userProfile" sender: self];
What i want to do , is show up the user profile ViewController when clicked over the tableViewController as a small window
this picture represents my goal :
Is there any possible way to do that ?