I have a UIViewController, which have a UIButton in it.
The event I put in the UIButton is to load a new TTThumbsViewController PhotoThumbnail.
PhotoThumbnail *photoThumbnail = [[PhotoThumbnail alloc] initWithNibName:@"PhotoThumbnail" bundle:nil];
[self.navigationController pushViewController:photoThumbnail animated:YES];
After clicking on the UIButton, the PhotoThumbnail loads perfectly.
Problem: When I clicked on the Back button, the view goes back where the UIButton was, but the position of the UIButton moved up!
Any idea what is causing this UIButton to move?
Note: The UIViewController is part of a UITabBarController, which is finally added to the window.
The tabBarController is added to the window
[window addSubview:tabBarController.view];
Hope my explanation of my situation here is clear.