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
Post a Comment