Could not initialize an instance of the type 'UIKit.UIImage'

RakeshSainiRakeshSaini INMember ✭✭

Hi Team , We are trying to run iOS Project From MAC Machine , But we are getting below error-
Could not initialize an instance of the type 'UIKit.UIImage': the native 'initWithContentsOfFile:' method returned nil

Can any help us , what is the reason behind of this Error?

Best Answer

  • RakeshSainiRakeshSaini IN ✭✭
    Accepted Answer

    Add the image is in the Resources folder in your iOS project and is marked as bundled resource !!

Answers

  • RakeshSainiRakeshSaini INMember ✭✭
    Accepted Answer

    Add the image is in the Resources folder in your iOS project and is marked as bundled resource !!

Sign In or Register to comment.