This is what I called the UIView DraggableViewBackground in Obejective C, and it works fine, but how to do the same in Swift
DraggableViewBackground *draggableBackgroundforurl = [[DraggableViewBackground alloc]initWithFrame:self.view.frame];
My DraggableViewBackground is in Objective-C and I want to set this as a sub-item at the click of a button
source share