I am relatively new to these schedules and have come across an issue that goes beyond me completely. So I have a menu with 6 UIButtons set to IBOutlet in my viewcontroller. Each of these UIButtons call a specific html internally housed in the Xcode project. The issue is that when using the prepareForStart function xcode by and simply ignores any action on the buttons.
This is my prepareForSegue function:
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
if (sender == self.Secretaria){
uptPiso1WebViewController *vc = (uptPiso1WebViewController*)segue.destinationViewController;
vc.url=[NSURL URLWithString:[NSURLRequest requestWithURL:[NSURL URLWithString:@"Piso1/Secretaria/vtour/tour.html"]]];
} else if (sender == self.sala){
uptPiso1WebViewController *vc = (uptPiso1WebViewController*)segue.destinationViewController;
vc.url=[NSURL URLWithString:[NSURLRequest requestWithURL:[NSURL URLWithString:@"Piso1/Sala105/vtour/tour.html"]]];
}
}
Once again, I am referring to my inexperience and I apologize if my question may be too vague, but my last resort was to try to find a solution here.
Greetings