This question already has answers here:
How can I replicate the trashing animation of Mail.app
(4 answers)
Closed 6 years ago.
I want to make an animation, like the deleting a note in iPhone Notes app. But here I want to do it for Tabbar. So deleting a view (something shows in a view) will swoop down in a delete tab bar icon. Say, I have favourite tab bar item, so adding something in the favourite will swoop down the view in the favourite tab bar item.
This is a duplicate of how-can-i-replicate-the-trashing-animation-of-mail-app - I realise the name of the question isn't an obvious link, but it's a good answer for exactly this question.
Related
This question already has an answer here:
How to move bottom view to top of UIKeyboard
(1 answer)
Closed 5 years ago.
I am a beginner in Swift and I have a PopUp on a screen that lists some items, I would like to know how I do when to open the keyboard the PopUp resize, without the keyboard overlapping it. Thanks, I hope someone can help.
enter image description here
use notification to get event when keyboard opens or hides.
In that appropriate event, you can resize popup screen.
https://stackoverflow.com/a/27135992/8358956 this answer can be helpful to you.
This question already has answers here:
Create tap-able "links" in the NSAttributedString of a UILabel?
(37 answers)
Tap on a part of text of UILabel
(9 answers)
Closed 5 years ago.
I'm new to IOS and making a instagram clone to practice IOS development.
I'm interested in one label with highlighted text on instagram's sign in page.
I have two questions about the screen shot above.
1, My guess it is one label with partial text is highlighted.
2, Only after user tap on the highlighted part, it will trigger action to move to another page.
I googled but couldn't find a way to implement this.
Another guess is this feature is from a third party library.
Do you what library could do something similar?
Thanks
This question already has answers here:
How to completely colorize UIPopoverPresentationController background color?
(2 answers)
Closed 7 years ago.
Question says it all. Does anyone know any tricks to change it from the standard grey color?
The simplest way is to set the popover presentation controller's backgroundColor. If that isn't good enough, you can set its popoverBackgroundViewClass, which gives you total command of the chrome including the arrow (but is a lot more work to implement).
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 have list of mail items in one View and I have nav bar button "New" to create new message.
All samples I've seen online say that this "new message" screen should be modal. We open it, write message and send it. Thats it. Since there is no navigation from this screen - it's use case typical modal view.
But I find that I really like "Push" this view. I get title for free, I get back button for free, I can add "Send" button to preconfigured title bar.
In code I can do "pop" on navigations stack after entered message processed. What's bad about it? So, it sounds like it should be modal but "push" much easier to do via storyboard.
According to Apple's Human Interface Guidelines:
Use a modal view when you need to offer the ability to accomplish a
self-contained task related to your app’s primary function. A modal
view is especially appropriate for a multistep subtask that requires
UI elements that don’t belong in the main app UI all the time.
Modal Views
This is largely a preference thing and depends upon what you are trying to accomplish and whether you care if the user explicitly acknowledges his edits or not (i.e. save/cancel). It sounds like you have a reasonable case for push in your example so I would go with that. If you find that you are moving toward implementing features of a modal VC while using a push, then switch over to modal. I do not believe there is a hard and fast rule for this.
The following answer provides some additional nice reasons to go modal or push
Modal vs. Push
This question already has answers here:
iOS Option Popup - Similar to Cut/Copy/Paste
(2 answers)
Closed 8 years ago.
I want to create same popUp as shown in image. This popUp is default in iPhone, but if I want to make it custom with my own message, how can I create it?
Cite from iOS Option Popup - Similar to Cut/Copy/Paste
UIMenuController and UIMenuItem is what you are looking for.
Here you find also an example project by Apple that explains how to use them.