self.imageView.image = UIImage(named: imgPath)
これでもios8では表示されるんだけど、pathの場合はcontentsOfFileにしなければいけなかった。
↓
self.imageView.image = UIImage(contentsOfFile: imgPath)
ただそれだけです。
More than 5 years have passed since last update.
self.imageView.image = UIImage(named: imgPath)
これでもios8では表示されるんだけど、pathの場合はcontentsOfFileにしなければいけなかった。
↓
self.imageView.image = UIImage(contentsOfFile: imgPath)
ただそれだけです。
Register as a new user and use Qiita more conveniently