xcode - App crashes on iOS 8.1.3, can't reproduce issue -


i submitted app(spritekit game made using swift)to app store, , rejected because bug found in it. apple's exact response was:

we discovered 1 or more bugs in app when reviewed on ipad running ios 8.1.3 on both wi-fi , cellular networks. specifically, app loads blank display. please refer attached screenshot more information.

i sent blank screenshot (that grey), of no help. cannot reproduce issue app runs fine on ipad (8.1.3). know can be? tested same build sent apple.

here's view controller code:

    super.viewdidload()      let scene:skscene = gamescene()          // configure view.         let skview = self.view as! skview         skview.showsfps = false         skview.showsnodecount = false          /* sprite kit applies additional optimizations improve rendering performance */         skview.ignoressiblingorder = true          /* set scale mode scale fit window */         scene.scalemode = .resizefill         scene.anchorpoint = cgpoint(x: 0.5, y: 0.5)         scene.size = skview.bounds.size          skview.presentscene(scene)  }  override func shouldautorotate() -> bool {     return true }  override func supportedinterfaceorientations() -> int {     if uidevice.currentdevice().userinterfaceidiom == .phone {         return int(uiinterfaceorientationmask.allbutupsidedown.rawvalue)     } else {         return int(uiinterfaceorientationmask.all.rawvalue)     } } 

here's code first scene of game(didmovetoview):

    authenticatelocalplayer()      //add background     self.addchild(backgroundpic)      //retrieve ad     //loadads()      //get high score     var accessplayscene = playscene()     var gamescenehighscore = accessplayscene.returnhighscore()     //set background color     backgroundcolor = skcolor.blackcolor()      //add leaderboardbutton     leaderboardbutton.position = cgpointmake((cgrectgetmidx(self.frame)), ((-1) * self.frame.size.height*0.27))     self.addchild(leaderboardbutton)      //add play button     self.tutorialbutton.position = cgpointmake(cgrectgetmidx(self.frame),cgrectgetmaxy(self.frame)*(-0.05))     self.addchild(self.tutorialbutton)      //add high score label     gamescenehighscorelabel.fontcolor = uicolor.redcolor()     gamescenehighscorelabel.position = cgpointmake(cgrectgetmidx(self.frame), (cgrectgetmaxy(self.frame)*0.75))     gamescenehighscorelabel.text = "high score: " + string(gamescenehighscore)     self.addchild(gamescenehighscorelabel)      //add intro text     self.appname.position = cgpointmake(cgrectgetmidx(self.frame),(cgrectgetmaxy(self.frame)*0.90))     self.addchild(appname)      //add tutorial button     playbutton.position = cgpointmake(cgrectgetmidx(self.frame), cgrectgetmaxy(self.frame)*0.45)     self.addchild(playbutton) } 

thanks help

i contacted app review , said app runs fine on ipad , iphone. have no idea why or how had problem.


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -