gordontucker/FittedSheets

Is there any way to track the position of the SheetView ?

Closed this issue · 2 comments

I want to show and hide the some view on the basis of the size of the sheet
view is half opened and fully dragged, or the sheet is dragged to new position
so, In short I want to know when the position of the sheet changes

asar1 commented

Any update on that?
I'm stuck at this too....

guard let sheetController = self.sheetViewController else { return }
        sheetController.sizeChanged = {[weak self] (controller, size, value) in
            // here to handle when size changed
        }

I used above code into child VC