I am working on a tab bar application. For one of the tabs I required a full screen camera preview. Hiding the tab bar left a white space at the bottom so I ended up using an additional new xib / UIViewController for that purpose using the ViewDidLoad method. So when the user selects the specific tab the one xib calls the other one.
However the code only executes once as it is currently using the viewDidLoad method. Is there a way to load the code every time someone selects the tab calling the first xib which in turns call the xib I am using for preview layer. I hope this doesn't sound too confusing.
Thanks in advance for any assistance.
However the code only executes once as it is currently using the viewDidLoad method. Is there a way to load the code every time someone selects the tab calling the first xib which in turns call the xib I am using for preview layer. I hope this doesn't sound too confusing.
Thanks in advance for any assistance.