Home Ask Login Register

Developers Planet

Your answer is one click away!

vivin February 2016

Multiple custom views in a single scene in Xcode

Requirement: I have a main view. On tap of a button in the main view, a small custom view should appear as an overlay on the main view.

Can i design both the views in a single scene?

Snapshot of my Xcode Scene: http://tinypic.com/r/sos8kh/9

Will this work?

Or what is the use of adding a view at that place?


Roee84 February 2016

Put the entryView inside the view. You can make it hidden until the user press the button.

Apple Geek February 2016

Yes it should work, when you click the button just use an iboutlet to make it visible if you have any other problems just let me know il be happy to try and help :)

Post Status

Asked in February 2016
Viewed 3,475 times
Voted 7
Answered 2 times


Leave an answer

Quote of the day: live life