@Shm_m putting the variable in your view did load method probably caused it not to play because the audioPlayer was deallocated immediately, it probably had nothing to do with the error/warning.
Topic:
Programming Languages
SubTopic:
Swift
Tags: