title: How to set Accessoryview to static UITableViewCell?
body: <p>I have created a UITableViewController with a UITableView and <strong>static</strong> UITableViewCells. </p>
  
  <p>How can I change the Accessory View to a custom Image within a UIImageView?</p>
  
  <p>I know how to change the Accessory View generally:<br>
  </p>
  
  <pre><code>UIImage *accessor = [UIImage imageNamed:@"imageName"];
  [somecell setAccessoryView:[[UIImageView alloc] initWithImage: accessor]];
  </code></pre>
  
  <p><strong>The solution:</strong></p>
  
  <p>Create an IBOutlet for each UITableViewCell which should have a custom accessory view and connect the IBOutlet to the UITableViewCell in the storyboard. After that you can set the accessory view like above.</p>