Comments (7)
Hey @ZacharyKhan Great š, once again thanks for this lib.
from zkcarousel.
EDIT: Hey @mahi008, I'll do those updates tonight and close this issue once it's done.
from zkcarousel.
Give it a try now, should be fixed in 0.1.8
. Just run pod update
and make sure you're on the latest version š
from zkcarousel.
works great ! one last question though @ZacharyKhan , nothing to do with the issue but how can I add equal margins around the ZKCarousel? It looks nearly impossible, I have tried UIEdgeInsets on collection view but nothing helps :(
from zkcarousel.
how can I add equal margins around the ZKCarousel? It looks nearly impossible, I have tried UIEdgeInsets on collection view but nothing helps :(
@mahi008 Iām confused, which views exactly are you trying to add margins to?
Are you trying to have a margin between the top/bottom/right/left of the ZKCarousel and the edge of the screen?
from zkcarousel.
Here's my story board, the blue rectangle is my ZKCarousel and it is embeded in a tableHeaderView.
I want to add white space around the blue rectangle(my carousel) but I can't figure it out :(, your help is much appreciated @ZacharyKhan
from zkcarousel.
@mahi008 Are you adding ZKCarousel
programatically or with storyboards? This seems like it could be solved by adding constraints to the top/left/bottom/right of the ZKCarousel
and adding a margin that way.
You shouldn't set the UIEdgeInsets
on ZKCarousel
.
EDIT: What you can also do is access the collectionView
property of ZKCarousel
and set the UIEdgeInsets
on the collectionView.
from zkcarousel.
Related Issues (20)
- Page number indicator fixed 3 items HOT 5
- 'use of undeclared ZKCarousel' error HOT 1
- Is there any way to remove the page indicator as well as the black backdrop? HOT 2
- Getting Value of type 'UIView' has no member 'addSubView' error HOT 4
- Conflicting Constraint Errors HOT 3
- Conflicting Constraint Errors HOT 10
- Is there some control over number of 'dots' shown on carousel? HOT 8
- Is it possible to turn of the dark gradient on the slides? HOT 3
- Help With Async Image Loading HOT 4
- Adding tap gesture not working HOT 2
- Unable to simultaneously satisfy constraints. HOT 4
- Package Resolution Failed HOT 2
- GestureRecognizer Action HOT 7
- App crash HOT 8
- Facing cell reusable issue in Collection view HOT 1
- Slide callback feature Request HOT 2
- Make UIImageView from ZKCarouselCell public HOT 2
- How to hide title and description HOT 1
- Not working HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zkcarousel.