ios - Making UIContainerView as wide as device screen -


i can't seem correctly reason problem hoping give me tips guide me along.

so have 4 uicontainerview's within uiscrollview. user swipes, containers display 4 individual uiviewcontrollers.

what want is, through autolayout, specify each uicontainerview must take device screen's width. user scrolls, 1 uiviewcontroller shown @ time on entire screen

the problems running into: 1. can't make iboutlet uicontainerview .. not sure why 2. no way in autolayout specify "device screen width" within uiscrollview

any appreciated!

your uiscrollview must contained inside uiviewcontroller nib. make constraints container view equal widths view controller's view in interface builder, , place container views next each other using al.


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -