wxs旅游增强
-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
UIButton *leftBtn = [UIButton buttonWithType:UIButtonTypeDetailDisclosure];
[leftBtn addTarget:self action:@selector(RutrunView) forControlEvents:UIControlEventTouchDown];
[self.view addSubview:leftBtn];
}
-(IBAction)RutrunView
{
NSURL *url = [NSURL URLWithString:@"wxsapp:"];
[[UIApplication sharedApplication] openURL:url];
}
![wxs旅游增强 - 清雨小竹 - 清雨小竹 wxs旅游增强 - 清雨小竹 - 清雨小竹](http://img4.ph.126.net/8tNQMeWf3XLZ3rVV79hEJQ==/6597158827098945144.jpg)