As per research, you would most likely have to wait for about 3-6 months before applying for the same position again. To be certain, check with your recruiter. Apple may consider you for multiple positions. So, if the one you’re applying for doesn’t work out, and they find you fit for any other team, they’ll get you another round of interview.