I have created header UIView
on storyboard
view controller, now I need to create 4 views like below colored image Into that UIview
base view. It should show for all devices. Need to adjust auto layout using iOS
.
相关问题
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
- “Zero out” sensitive String data in Swift
- Get the NSRange for the visible text after scroll
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- Swift - hide pickerView after value selected
- How do you detect key up / key down events from a
- “Storyboard.storyboard” could not be opened
- didBeginContact:(SKPhysicsContact *)contact not in
First set constraints to header view. Select header view and apply following constraints:
Once you apply constraints to header view then select all buttons at once :
Hope this can help
Try this..
Now IOS 9 realse new feature
stackview
.U can drag the
stackview
into your header view and adduiviews
into it.You can also change
stackview
's properties based on your project..