Giter Site home page Giter Site logo

Comments (29)

iDevelopper avatar iDevelopper commented on July 22, 2024

Can you provide a screenshot please?

from pbrevealviewcontroller.

Dbigshooter avatar Dbigshooter commented on July 22, 2024

sss

from pbrevealviewcontroller.

iDevelopper avatar iDevelopper commented on July 22, 2024

Do you have the application screenshot too? It is a tab bar? Not a tabbarcontroller?

from pbrevealviewcontroller.

Dbigshooter avatar Dbigshooter commented on July 22, 2024

ssss

from pbrevealviewcontroller.

Dbigshooter avatar Dbigshooter commented on July 22, 2024

Its is just a tabbar

from pbrevealviewcontroller.

iDevelopper avatar iDevelopper commented on July 22, 2024

Hi @Dbigshooter , PBRevealViewController don't provide a way to do this yet! You can easily change the rightViewController's frame in your project.

See this sample, in SecondViewController.swift:

Example6Swift.zip

from pbrevealviewcontroller.

Dbigshooter avatar Dbigshooter commented on July 22, 2024

@iDevelopper Can you reduce the height? Can I manually make it go to the tabBar just by declaring the height?

from pbrevealviewcontroller.

Dbigshooter avatar Dbigshooter commented on July 22, 2024

Can I get it to scroll under my navigation bar? When I scroll it looks like this:

screen

from pbrevealviewcontroller.

iDevelopper avatar iDevelopper commented on July 22, 2024

Did you try the last sample? It seems your constraints are not right. I added a text view to the right view controller and all is right:

Example6Swift 2.zip

from pbrevealviewcontroller.

Dbigshooter avatar Dbigshooter commented on July 22, 2024

That is when I'm scrolling. Where did you set the constrains? I can see yours works perfectly.

from pbrevealviewcontroller.

iDevelopper avatar iDevelopper commented on July 22, 2024

Yes but for me in my sample, it's ok. You can send your project if you want and I'll see.

from pbrevealviewcontroller.

Dbigshooter avatar Dbigshooter commented on July 22, 2024

Can you explain where you set the constraints? I'm using a TableViewController.

from pbrevealviewcontroller.

iDevelopper avatar iDevelopper commented on July 22, 2024

2016-08-25_14-45-30

from pbrevealviewcontroller.

Dbigshooter avatar Dbigshooter commented on July 22, 2024

I see, but how can this be achieved in an TableViewController? I can't seem to do it.

from pbrevealviewcontroller.

iDevelopper avatar iDevelopper commented on July 22, 2024

Ah ok, I thought it was a scrollView. Then embed your table view controller in a navigation controller, and in this navigation controller uncheck Show navigation bar.

Example6Swift 3.zip

2016-08-25_14-58-13

from pbrevealviewcontroller.

iDevelopper avatar iDevelopper commented on July 22, 2024

And yes a table view controller and a particular object, it takes the whole screen. By adding a navigation controller in which the bar is not shown, it takes into account the status bar's size. And sorry for my english!

from pbrevealviewcontroller.

Dbigshooter avatar Dbigshooter commented on July 22, 2024

You're a genius. Can I make the tableview not dragable? So the line stays where it is, see the last screenshot of mine.

from pbrevealviewcontroller.

iDevelopper avatar iDevelopper commented on July 22, 2024

Not dragable? Meaning?

from pbrevealviewcontroller.

Dbigshooter avatar Dbigshooter commented on July 22, 2024

If I drag down, like if I want to update it, I don't want it to be dragged, I want it to be fixed.

slice

from pbrevealviewcontroller.

iDevelopper avatar iDevelopper commented on July 22, 2024

Do you mean bounces property? Uncheck it.

2016-08-25_15-44-53

from pbrevealviewcontroller.

Dbigshooter avatar Dbigshooter commented on July 22, 2024

Thanks! Is there a way to get the tabBar above the rightmenu? A hack or such?

from pbrevealviewcontroller.

iDevelopper avatar iDevelopper commented on July 22, 2024

Try to add a shadow to your tabBar.

from pbrevealviewcontroller.

Dbigshooter avatar Dbigshooter commented on July 22, 2024

Oh I just realized, it's not a tabbar, but a toolbar! Is it possible to do it with that, @iDevelopper?

from pbrevealviewcontroller.

iDevelopper avatar iDevelopper commented on July 22, 2024

I tried to add a 1px line (UIView with black background color) just above the tabBar in the story board. What about this?

2016-08-25_17-38-12

from pbrevealviewcontroller.

Dbigshooter avatar Dbigshooter commented on July 22, 2024

It is a toolbar, not a tabbar, I figured. Does that make any difference?

from pbrevealviewcontroller.

iDevelopper avatar iDevelopper commented on July 22, 2024

It is the same. They are both UIView.

from pbrevealviewcontroller.

Dbigshooter avatar Dbigshooter commented on July 22, 2024

Is that the only solution, or are you working on another?

from pbrevealviewcontroller.

iDevelopper avatar iDevelopper commented on July 22, 2024

No, as it is not possible! The side view is shown on top of the main view then obviously above all the main view subviews.

from pbrevealviewcontroller.

Dbigshooter avatar Dbigshooter commented on July 22, 2024

But isn't the UIView you added a subview of the mainview? I just want to understand.

On the other hand, how to call a method on my mainView from the RightView?

from pbrevealviewcontroller.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.