This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 12th, 2013  |  syntax: None  |  size: 0.43 KB  |  views: 95  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Incompatible pointer types sending 'UIImage *__strong' to parameter of type 'UIView *'
  2.        
  3. UIImage *shadowImage = [UIImage imageNamed: @"shade.png"];
  4. UIImageView *shadowImageView = [[UIImageView alloc] initWithImage:shadowImage];
  5.  
  6. [otherNav.view addSubview:shadowImageView];
  7. [otherNav.view insertSubview:shadowImage belowSubview:animatedActionView];
  8.        
  9. [otherNav.view insertSubview:shadowImageView belowSubview:animatedActionView];
clone this paste RAW Paste Data