Giter Site home page Giter Site logo

Need Transparent Bg about vbrrollingpit HOT 5 CLOSED

v-braun avatar v-braun commented on May 26, 2024
Need Transparent Bg

from vbrrollingpit.

Comments (5)

v-braun avatar v-braun commented on May 26, 2024

Hey,

first of all: have you modified the code or use it as it is?

1.: In general there are now shadows (see also my example screenshoot). Are you sure that you don't have set a shadow by yourself? Can you provide your code that I can check that?
2. Simply set the BackgroundColor of the TabBar to Transparent. In general it has it per default. Again: could you provide your code? There is no shadow/background in the demo.
3.: The duration of the "hide" animation and their duration is here:

DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + .milliseconds(400) , execute: {

the roll animation is here:

simply adjust these two values.

from vbrrollingpit.

v-braun avatar v-braun commented on May 26, 2024

close because of inactivity

from vbrrollingpit.

hamedazhar avatar hamedazhar commented on May 26, 2024

Hey @v-braun, same issue here. Your RollingPitTabBar also includes the portion covered in the red rectangle of the above screenshot. So basically if we add a view(like tableview in screenshot) inside the viewcontroller, we can see a blank space from the bottom of the view to the tabbar.

from vbrrollingpit.

syedrazackimran avatar syedrazackimran commented on May 26, 2024

RollingPit.zip

Hi hello,

herewith I added sample projects kindly check it once.

from vbrrollingpit.

v-braun avatar v-braun commented on May 26, 2024

@syedrazackimran & @hamedazhar
the BG is transparent. You have a View (on root level) with a grey Baground and your CollectionView has constraints that say they should be within the safearea of that view.
Looks for me that you use a ViewController instead of a CollectionViewController to represent your data.
See the screenshoot and compare the view hierarchies.
"Item Scene" works as expected because the collection view is expanded over the entire screen (and is also behind the TabBar).

image

from vbrrollingpit.

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.