- (void) titleTapped:(id) sender
{
[[UIApplication sharedApplication]
- openURL:[NSURL URLWithString:@"http://www.jwz.org/xscreensaver/"]];
+ openURL:[NSURL URLWithString:@"https://www.jwz.org/xscreensaver/"]];
}
[button addTarget:self
action:@selector(titleTapped:)
forControlEvents:UIControlEventTouchUpInside];
- self.navigationItem.rightBarButtonItem =
- [[UIBarButtonItem alloc] initWithCustomView: button];
+ UIBarButtonItem *bi = [[UIBarButtonItem alloc] initWithCustomView: button];
+ self.navigationItem.rightBarButtonItem = bi;
+ [bi release];
[button release];
// The title bar