BBCustomBackButtonViewController
BBCustomBackButtonViewController copied to clipboard
Problem with the first back button
Hi!
I have a strange problem. Only the first back button is larger than others. So when I first go from root view controller to the second, the back button is a little bit larger. Then from second to third and so on is correctly displayed. And when I go back from the third to the second is also correctly displayed. If I go back to the first and again to the second is larger again. So the problem is showing only from going from root view controller to the second. Have you got any ideas that would help me?
Thank you for the reply in advance,
With regards, Blaž
Which OS version? Which version of Xcode? Which SDK are you building with? Running in simulator or on a device? Which device and which version of iOS is running on it if on device?
Running in simulator version 6.0(10A403), Xcode version 4.5(4G182). I'm building with the deployment target 5.0 and base SDK is 6.0.
Thanks
I have started a new application and in the beginning is all fine. Then at some point, the back button's are becoming smaller and larger from view to view. Very strange.. Have you got any similar problems?
Can you branch and create a repro for me. I rarely use this I'm not having problems.
(Sent from mobile) On Oct 19, 2012 4:34 AM, "oblak" [email protected] wrote:
I have started a new application and in the beginning is all fine. Then at some point, the back button's are becoming smaller and larger from view to view. Very strange.. Have you got any similar problems?
— Reply to this email directly or view it on GitHubhttps://github.com/typeoneerror/BBCustomBackButtonViewController/issues/1#issuecomment-9598054.
Hi, oblak Try this, change #define kBackButtonFrame CGRectMake(6.0f, 6.0f, 52.0f, 31.0f) to #define kBackButtonFrame CGRectMake(6.0f, 6.0f, 52.0f, 35.0f)
Hi!
I'm experiencing this problem when I want to add tableviewcontroller with the back button. I have copied your calss "BBCustomBackButtonViewController" and make it inherit from TableVewController. Seems i did not do it correctly. Can you make a sample when you use tableview controller with the custom back button?
The problem was, that i had the image a little bit to small, so i realized that it must be the same size as the frame is. I thought it will fit in the frame as it was. Now i have another question. Everything is working fine till now except that i can click on the back button even right and down of it. Is this because of the frame of the animation maybe? How can i get it to work properly (only if I click on the button itself, go back)?
Sorry for bothering you so much. I saw that also the default back button is supposed to work in that way. I have another question, my button does not animate always. Is that correct or not? When it first appears does not animate, then it does.