ermalkaleci / CarbonKit

CarbonKit - iOS Components (Obj-C & Swift)
MIT License
682 stars 164 forks source link

disable left Swipe on first Controller and right on Last controller & hide tab bar on first view controller #217

Open neeraj92144 opened 6 years ago

neeraj92144 commented 6 years ago

I have two question related to this library I have already gone through all the issues of it but did not find any solution here are issues : ->

  1. I want to hide tab bar on first view controller, then as soon as I swipe from first view controller to other ones then In that case I want to show it again, how I can accomplish this thing.

  2. How to disable left Swipe on first Controller and right on Last controller of swipe but I have check checked out all issues of this lib but I have not found any swift related code for this issue. Please provide me code for swift 3 or 4.

Thanks in advance. :)

SriSamVictor commented 6 years ago

I had also the same issue but there is no more solution. but you can try some of your own logic on that before view controller method and after view controller method on the carbonKitTabSwipeNavigation class. if you have fixed that issue. please post the code below.

Thanks in advance.