How create ContextMenu for UICollectionView [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 2 years ago.
Improve this question
I am need create feature like in iOS "Photos" system app, when you are have a list of photos and use long press to image, this collection view with images exanded, all background is blurred and has appeared popover menu, how I can create it?
I am can detect long press on collection view and add some view behind, also I am try create blur effect but can't blur all behind particular cell.
This is image of this effect effect inside system app

Your screen shot shows a context menu interaction. Since this feature already exists at framework level, and since a collection view is ready to implement it for you, I suggest you just use it rather than trying to reinvent such a complicated thing for yourself.

Related

Create grey transparent alert [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 5 years ago.
Improve this question
I am looking for either the terminology or a reference on how to do this.
When you Successfully build a project on Xcode a nice, looking alert pops up. Like the one below:
I have found only one other question on how to recreate this for Mac OS. I want the iOS version. I want to use this alert to show a count down for a timer. I have the count down fully functional but I'm not sure of a good way to display. I think this would be ideal for it.
I have the count down fully functional but I'm not sure of a good way to display
It's simply a view (UIView), with a transparent grey background color, rounded corners, and a light shadow. All of that can be readily be configured by straightforward view and layer properties in about three lines of code, and showing the view can be as simple as one line of code.

Autoscrolling of images and perform action on click images [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 want to create autoscroll of images and want to perform action on click of image. [Same as iTune home page]. I really stuck to perform this task.
Please give me some suggestion or any reference how I can perform same.
Autoscroll is main thing for me as well images should scroll in infinite loop same as iTune Home Page . Thanks.
You can use table view for show each cell.
if you want to show images in each cell then use collection view inside a table view cell.
so it's look like a app store home page.

How to make expandable (stretchable) action for cell as in mail app iOS9 Swift/obj-C [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
Want to make, for example 3 actions for cell ("More", "Flag", "Delete"), and last must activate, if:
1) after opening action list, swipe the cell again in the same direction
2) when opening the action list by swipe, but swipe is continued
image after first swipe,
image of second swipe pointer is near of the left screen edge
So, the only one way to do it as i wish, is to do it by my self or use third party solutions, as mentioned #Louis Tur or this solution. But the best way for now for me is to make it by my self, cause it very specified task. Apple does`t even provide possibility to insert a logo in action (solution with pattern image is not considered)

Image button or button with a background image in XCode, what is better? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I am quite new in XCODE and I am making an app. In the main menu of the app I would like to put a series of buttons one after another. Each button will have each own image. My question is: should I have an Image Button for each button or should I have buttons with the corresponding images as backgrounds.
UIButton with image as background are better (especially if your images are set in an xcassets because in that case you can even defined slicing methods : how the image should react if the button size changes for example).
I prefer to use a button with an image on the background, because the main functionality for that is a UIButton library. You don't need to setup the tapgesture or any other functionality. you get all the button behavior since the function of that image will be a button and not a regular image.

Creating a custom progress indicator in ios [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 9 years ago.
Improve this question
Currently i am trying to create a custom progress indicator in my ipad app.But currently there is no such controller available in ios sdk.
So how to create this ?
I have a really interesting vision of this - you need to create a UIImageView like the one on your picture and leave the areas that need to be highlighted transparent. You then put a blue UIView underneath it and using animation block you change its frame - kinda 'drag' it to the right - so it looks like it's filling the progress indicator. It's rather simple, give it a try.
Your best bet is to use a CAShapeLayer to draw out your loading bar and then animate accordingly.
Joe Conway (formerly of Big Nerd Ranch) created a circular progress bar which can be found here
I would recommend following along with the code he laid out for his project and mend it accordingly.

Resources