ios - How to add images into placeholder in xcode? -


currently working in swift xcode want add, example, image icon placeholder position text field. many modern ui designs feature on log in/log out pages. how able implement this?

you can add uibutton using interface builder , have both image , text 1 object.

simply drag , drop uibutton object library panel uiviewcontroller. check attributes inspector , set image property image you've added project either using assets catalog or image you've added project library. set title property text wish display. can select image in edge dropdown property , adjust position of image relative text.


Comments

Popular posts from this blog

swift - Button on Table View Cell connected to local function -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

c# - ajax - How to receive data both html and json from server? -