質問編集履歴
1
コード過不足調整
test
CHANGED
File without changes
|
test
CHANGED
@@ -42,17 +42,7 @@
|
|
42
42
|
|
43
43
|
func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
|
44
44
|
|
45
|
-
do{
|
46
|
-
|
47
|
-
try? AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.playback, options: AVAudioSession.CategoryOptions.mixWithOthers)
|
48
|
-
|
49
|
-
} catch {
|
50
|
-
|
51
|
-
}
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
45
|
+
let audioSession = AVAudioSession.sharedInstance()
|
56
46
|
|
57
47
|
do {
|
58
48
|
|