ios - Why an I getting "Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIImageView _isResizable]: unrecognized selector" -


My UIImageView is linked to a TableViewCell as you can see above (My reputation is very low Post images, so I had to upload it to Tinpec).

The cell code for this image is here:

  #import & lt; UIKit / UIKit.h & gt; @ Interface excitadotaside menu menu: UITTEWewsell Property (strong, notatomic) IBotllet UIIMviewview * image; @property (strong, non-monotic) IBOutlet UILabel * label; After that, specify the image that I receive:  
  - (ExtratoDeNotasSideMenuTableViewCell *) tableView: (UITableView *) tableView cellForRowAtIndexPath: ( NSIndexPath *) indexPath {ExtratoDeNotasSideMenuTableViewCell * cell = [tableView dequeueReusableCellWithIdentifier: @ "ExtratoDeNotasSideMenuTableViewCell" forIndexPath: indexPath]; // Configure cell ... cell.image.image = [UIImage imageNamed: @ "Icone_SideBar.png"]; Cell.label.text = [NSString stringWithFormat: @ "% @", [Self.Menitanens ObjectAttand: IndexPath.ro]]; Return cell; }   

But this does not work, the message: "*** Expiry application did not come up 'NSInvalidArgumentException', due to reason: '- [UIImageView _isResizable]: non-recognized selector For example, 0x7fa81356da40 '' shows any help would be appreciated.

After

[UITableViewCell Image] is a deprecated selector expected to be UIImage by the system. You override this name and instead of a UIImageView , the intestine Ric source that is expecting a UIImage failed

returned the solution. Rename image property.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -