Загрузка...

Scrollview using autolayout with fix button at bottom on the screen in iOS storyboard.

The demo contains the fix button in bottom of the screen and text should be scroll in screen.

For how to works uiscrollview in auto layout watch full demo for step by steps guide.

Here are quick steps for Scrollview auto layout

Scrollview Constraint
Leading to super view
Trailling to Super view
Top to Super view
Bottom to Button

Take 1 view inside scrollview and apply constrain in view
Leading to scrollview
Trailling to scrollview
Top to scrollview
Bottom to scrollview
Equal width with scrollview
Give Height constant

Now take 1 label inside view and apply constraint in label
Give top, leading , trailing and bottom to unlabelled

and remove view Height constant.
Run the project. your label content is scrollable and button is sticky at bottom.

For more videos like, comment and subscribe my channel.

Видео Scrollview using autolayout with fix button at bottom on the screen in iOS storyboard. канала Software Development
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять