简体   繁体   中英

How to resolve 'could not initialize an instance of the type uikit.uiimage : The native initwith contentsofFile' errors in icons tabbed page

I am very struggle to fix this strange issue. In my application using tabbed page with icons but when try to build getting exception. From last three months it's working fine. last day on wards it's getting build issue. please suggest any idea to fix this. Thanks in advance.

1) Check that build action for icon is set to Bundle Resource

2) Check the file name. If it contains capital letters, remove the file from the project, rename to lowercase and then add again.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM