How to create animation like Apple Music app [closed] - ios

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Hi I want to create a view with lot of button in circle shape but want them arrange and animate like Apple music app as shown below, I can not post image you can view screenshot here one with red bubbles

I am not adding full code because there are number of things done, but here are the steps you can follow to create something similar.
You can create round button by setting there cornerRadius = height/2 provided both height and width are same, to make them scrollable add them in a scrollView and set contentSize of scrollView. You can add scaling animation to the each button i.e add CAKeyFrameAnimationfor key path transform.scale.y and transform.scale.x
We can also do this by using spritKit here is the component which do similar

Related

Change the structure automatically? (iOS/Storyboard) [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
To know better what I mean, check this screenshot here. Let's say the UIView with the number 3 are removed. Is it possible to tell the storyboard or ViewController it should after the remove put the UIView number 4 and 5 higher (the y-position), so that it looks like this screenshot?
Sorry for the very basic question, but I have no idea how I could start or if this have a special name, to google it.
This job is best fit for a vertical UIStackView , as setting
self.view3.isHidden = true
will automatically collapse the view , but if the items count will be many than fit in a single device height , then you have to embed the stackView inside a UIScrollView , or use a UITableView instead

UI design - simple struct - how to implement [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
How can I create the next (and simple) structure?
Is it just a tableView? or is it require assets ?
(I'm asking about the squares only, not about the text and icon at each row)
For this kind of design you should take one UIView with border and rounded corner.
Then add three textfield to it without border and add two another uiview of height 1 or 2 pixel(So it's looks like line) as a separator.
So by this you have ready this empty box with three textfield.

How to set stack background colour? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am working for iOS app using swift in XCode.
I need four clickable image views at bottom of the view. I have adjusted those in stack. Now I want to give a background colour to whole stack. Is there any option for this?
Thank you for help :)
You can't do this – UIStackView is a non-drawing view, meaning that drawRect() is never called. Its background color is not set. You can place the stack view inside another UIView and set background color value of that view.

Swift - set clickable area on UIImageview [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
How could I define a clickable area on a UIImageview in swift ?
This area as to be fixed on the image even if I zoom or drag it.
Using the same technique as I recommended in this answer, add a gesturereconizer:
How to make whole call out tappable?
Add a button to the image via programatically (IBuilder doesn't allow that)
Set userInteractionEnabled = true on imageView
Set the button either via AutoLayout or using springs and struts approach to resize with imageview.

Spacing between two barButtons in Navigation Bar-ios [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
iOS
I have three right bar buttons items in my navigation Bar.
I want to change the default spacing between them to zero, so that all the buttons stick to each other?
You can try adding a spacer (UIBarButtonSystemItemFixedSpace) with a negative value. See this answer for more details.
Another approach could be using a custom item with a smaller size than its content then allowing drawing outside out of its bounds using UIView.clipToBounds property.

Resources