title: ImageView and UIButton
body: <p>I would like to create a button with a custom image ( background image), i have done this.
  how  can assign the imageview to may button ?</p>
  
  <p>thanks for your answers </p>
  
  <pre><code>UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
  [button addTarget:self 
             action:@selector(goToGeoloc)
   forControlEvents:UIControlEventTouchDown];
  [button setTitle:@"Show View" forState:UIControlStateNormal];
  button.frame = CGRectMake(245.0, 8.0, 45.0, 45.0);
  UIImage *image = [UIImage imageNamed:@"ico_plan.png"];
  UIImageView *imageView = [[UIImageView alloc]initWithImage:image];
  </code></pre>