As long as it meets the criteria for a warranty otherwise its possible they may give credit towards purchase of a new one
I had taken my granddaughter ipod in becaues it was dropped and crack the screen. I they let me replace it..
I've only experienced receiving a trade in or a replacement on a detective device only when having Apple Care
Thanks! Your answer is awaiting moderation.