set subview to its original position after bring subview to front iOS swift

 Solution:

     I had some subviews of one view.I had set some views to bringsubview to front but i wanted those views to set back to its original order after the edit completed.

    While adding subview to one View it had different tag for every subview.So its easy to set the order.ID based arrange order of it's subviews.

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift