I have this app released on the App Store and I've had no problems with getting text from txt file.
Im trying to get the text from txt file and put it into a variable to show on the screen (heres the code).
What it's doing is getting a random line on the txt file and putting it into a global variable.
It's giving me this error when i use it.
Is there anyway to fix this? Ive loaded it on my phone and it doesn't work, nothing will show up on the screen
Im trying to get the text from txt file and put it into a variable to show on the screen (heres the code).
Code Block Random rand = new Random(); int value = rand.Next(0, 2); string filePath = "AnswersBG.txt"; using (var a = new StreamReader(filePath)) { for (int i = 1; i < value; i++) { string letters = l.ReadLine(); string[] entries = letters.Split('`'); GlobalVariables.A = entries[0]; A.Text = GlobalVariables.A; GlobalVariables.B = entries[1]; B.Text = GlobalVariables.B; } }
What it's doing is getting a random line on the txt file and putting it into a global variable.
It's giving me this error when i use it.
Code Block [AVAsset loadValuesAsynchronouslyForKeys:completionHandler:] invoked with unrecognized keys ( artwork
Is there anyway to fix this? Ive loaded it on my phone and it doesn't work, nothing will show up on the screen