Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
350
A Layer UIView on top of the cells except the centre one
posted

I am using the following carousel pattern in IGGridview.

------------- Visible Screen --------------
View1 View2      View3      View4 View5

What I need to do is to display a layer UIView from left to the right side of the IGGridView. The layer UIView should be on top of the View1, View2, View4 and View5 except View3 which is at the centre.

I need like:

------------- Visible Screen --------------
View1 View2      View3      View4 View5

Note: the height of the layer UIView is not important.

Parents
  • 40030
    Offline posted

    Hi!

    Based on the code I was helping you with previously, you can hide/remove the layer by putting the code in the else: 

    if(scale < minScale)

        {

            additionalOffset = spacing;

        }

        else

        {

          // put code for layer here

       }


    Out of curiosity, what are you trying to do with the layer?

    -SteveZ

Reply Children
No Data