Giter Site home page Giter Site logo

抽屉出现点击抽屉菜单push或者挑战到Next界面,返回的时候抽屉消失了,怎么让抽屉不消失? about cwlateralslide HOT 7 CLOSED

loohalh avatar loohalh commented on July 20, 2024
抽屉出现点击抽屉菜单push或者挑战到Next界面,返回的时候抽屉消失了,怎么让抽屉不消失?

from cwlateralslide.

Comments (7)

ChavezChen avatar ChavezChen commented on July 20, 2024 1

是这样哦,因为push需要导航栏。。所以去找到了根控制器当前显示的导航栏进行的push。。侧滑的界面没有导航栏无法push的。。如果想要返回的的时候抽屉是打开的。。。可以给侧滑的界面加一个隐藏的导航栏。具体的实现 可以看看 #19 这个里面我有写一个demo。。下载看看能不能满足需求

from cwlateralslide.

loohalh avatar loohalh commented on July 20, 2024

嗯嗯 是这个原因 我还是试着用UINavigationController *naeNai = [UINavigationController alloc] initWithRootViewController:leftVC]; 来进行push,但是好像还有些问题。看看你的demo,谢谢你的帮助

from cwlateralslide.

loohalh avatar loohalh commented on July 20, 2024

用CWDrawerAnimationTypeMask 左侧遮盖划出还是不行,按你demo的方式添加了navi,从leftVC push 到NextVC的时候NextVC只占屏幕0.75,而且返回的时候还是返回到了跟界面,并且蒙版还在。。。楼主有什么思路解决吗

from cwlateralslide.

ChavezChen avatar ChavezChen commented on July 20, 2024

111

from cwlateralslide.

ChavezChen avatar ChavezChen commented on July 20, 2024

demo搜索 注释 绿绿绿绿 有处理方式哦😁
CWLateralSlide.zip

from cwlateralslide.

loohalh avatar loohalh commented on July 20, 2024

OK 你这响应速度也是很速度了 赞一个

from cwlateralslide.

Arise903 avatar Arise903 commented on July 20, 2024

抽屉点击push到下一个controller返回后能保持抽屉打开状态 ,虽然抽屉保持打开的功能实现了,但是会导致这个页面列表页的弹窗不显示以及不能用push到下个页面的问题?

from cwlateralslide.

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.