I'm creating iPhone app for kids which they can play with alphabets and numbers.
I want to providing the option for airplay so that playing on bigger screen will be more fun.
I'm using the following code to show the airplay button:
MPVolumeView *volumeView = [[MPVolumeView alloc] initWithFrame:CGRectMake(0, 0, 105, 40)];
[bottomPanel addSubview:volumeView];
I'm able to see the volume view, but not the airplay button. Can some one help me how to show the airplay button for my app?