ios - GKPeerPickerController is blank when invoked within EAGLView -


i have eaglview-based class runs following code when menu selection made in opengl:

-(void) startpicker {     self.gamestate = kstatepicker;     gkpeerpickercontroller *picker = [[gkpeerpickercontroller alloc] init];     picker.delegate = self;     picker.connectiontypesmask = gkpeerpickerconnectiontypenearby;     [picker show]; } 

for unknown reason, picker blank rounded rect when appears, no visible interface or directions.

if launch @ end of init function, works. afterward, launches fine menu. have tried placing code in startpicker inside main queue dispatch, doesn't seem help. i've tried running picker , without arc, makes no difference. code more or less directly taken gktank example apple provided while ago, introduce gamekit's bluetooth framework.

can tell me why might happening, , possible solution is?

just following up. discovered in view controller contains view there call [uiview setanimations:no]; prohibits gkpeerpickercontroller appearing properly.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

qt - Errors in generated MOC files for QT5 from cmake -