ios - Constraint broke UIButton on iPhone -
i have universal app using auto layout, unknown reason, constraint have on uibutton
causing button not respond on iphone (works fine on ipad). below snapshot of .xib view embedded inside uiscrollview
.
note "(read drug facts...)" standard uibutton
doesn't respond click on iphone. however, when changed top spacing between dose label , body view, responded clicks. but, when reduced spacing constant 40 down 10 button won't respond anymore. don't see view invisibly hiding button.
update 1: matt reminding me of great view debugging feature i've forgotten about. view debugging, i'm unable find culprit. please see images below.
Comments
Post a Comment