At first, I want to say that i don't speak English very well. understand please TT
I typed the code in Xcode.
MPMediaQuery* songsQuery = [MPMediaQuery songsQuery];
self.songsSectionArray = [songsQuery collectionSections];
In the songsQuery, There are many songs starting with A-Z, And the other songs.
And, I used 'collectionSections ' method
And than, I logged using NSLog. To check in songsSectionArray
It was normally outputted. It has no problem
But, I copied the code, and pasted.
And logged.
Then, It has problem T.T
The result was different
This is normal output :
title=A
title=B
title=C
title=D
title=E
title=F
title=G
title=H
title=I
title=J
title=K
title=L
title=M
title=N
title=O
title=P
title=R
title=S
title=T
title=U
title=V
title=W
title=Y
title=#
And this is the output that I copied code :
title=B
title=K
title=O
title=P
title=Q
title=R
title=S
title=T
title=U
title=V
title=W
title=X
title=Y
title=Z
title=#
title=#
title=#
title=#
title=#
title=#
Code is clearly the same. But why the output is different?
Please help me if you know a solution