views:

33

answers:

0

Hi,

I have a UILabel in a view that is set by calling a method against my view controller. The app is a TABBar app and the VC is in the MORE section.

When I rotate the phone the label disappears (don't mind that) when I rotate back the label is showing all .......... (the value it is set to in the XIB)

I added a line to set the label in the shouldAutoRotateToOrientation method

lblProductTxt.titleLabel.text = self.productText;

when autorotating what viewcontroller methods are being called. ??

the shouldAutoRotateToOrientation method doesn't get called when the VC is in the More section but when I move it it does get called but has no affect on the labeltext