The only reason I know is that you might be using an image exceeding the max supported resolution by the graphics card of the phone, which shows up as black on some devices.
please make more details on the app so we can help you.
After trying many things I just ended up deleting the view controller in the storyboard and recreating it from scratch and the problem disappeared. I’m not sure what was the issue, maybe some bug in Xcode…