xcode - UIButton Difficult to Press Near iPhone Edges -
i'm having problem uibuttons responding tap near edge of iphone. after creating new xcode project, dragging button viewcontroller in storyboard near left-lower corner, , running simulator, button appears respond nicely tap on entire surface area of button.
however, if run program on iphone, uibutton takes 1 second register lower-half of button register upper half of button. why this? then, when drag button towards center of iphone screen, registers tap @ point across button surface area immediately.
try running app button near edge - same result?
here screen shot of lower-left corner of viewcontroller - nothing special @ all. have viewcontroller buttons added along bottom edge of iphone.
edit
although have not yet resolved issue, have discovered control center , notification center features of iphone interfering buttons. know way around this?
adding viewcontroller.m resolved issue:
- (bool)prefersstatusbarhidden { return yes; }
Comments
Post a Comment