I have an iOS iPhone app for which I need the Action Sheet-style buttons outside of an action sheet. I am talking about these buttons:
I've seen the eBay iPhone app do that and then have that button tinted blue, but I just can not figure out how to do it. I've been pondering and googling for this for quite a few days now. Any help would be appreciated!
I've used pre-built photoshop PSDs in the past to achieve this effect. My favorite so far is http://www.teehanlax.com/blog/2010/06/14/iphone-gui-psd-v4/
You have to create your own view that mimics Apple's action sheet. Here's a really nice post that has helped me to create something similar:
http://www.nearinfinity.com/blogs/andrew_homeyer/display_a_custom_uiview_like_a.html
To make the actionSheet black / transparent:
[actionSheet setActionSheetStyle:UIActionSheetStyleBlackTranslucent];
Related
Does anyone know how to create a popup menu like the one seen in the mail app on iOS7 which lets you reply, reply all, forward and print? I have been researching it but can't find an answer. I am still quite new to Xcode.
You are after the UIActionSheet. This is a control found within all versions of iOS, but has recently been re-skined for iOS7.
Update: UIActionSheet was deprecated in iOS 8, and instead you should use UIAlertController with the style of actionSheet
I am using this API in my application. The sample app given is working fine for both iOS7 and 6. After integrating it into my app Tap Gesture is not working on UILeftBarButtonItem in iOS 7, but working in iOS 6. Please see the screen shot below:
Both UIRightBarButtonItems are working fine and their action is getting executed but the left button is not working in iOS7
I have wasted several hours but couldn't figure out why it is not working only in iOS7. I found this thread on SO but no luck.
Any help would be greatly appreciated.
It's time to answer my question
The problem was that I was disabling the refresh button on top right corner of the Navigation Bar on start of the method it triggers and reenabling it later on the basis of subview index but some strange reason it was disabling my leftbar button but in iOs6 it was disabling the Refresh button. There is some problem with the Subview indexing in iOS7.0
I am late to answer but you made a serious mistake relying on subview index.
My approach for such a case would be
Make an IBOutlet of UIButton and add it to navigation bar.
When it comes to enable to disable I would use the outlet of button.
Hope that would help anybody else facing this problem.
Hey everyone,
I'm looking to display multiple items in view of an iOS app. Typically I would use UITableView to accomplish this but now I'm looking for something a little fancier. The appearance that I hope to replicate is that of YouTube on iOS systems. A picture of this [youtube] is attached. I am particularly interested in how each video entry is styled. The box around the entry, the background. My guess as to how YouTube does this is through multiple UIViews or stylish UITableViewCell. Any class or framework recommendation would be of great assistance. I have spent hours searching google and stackoverflow to no avail.
Thanks in advance
To mimic the style of the YouTube app, I just subclassed UITableViewController with an initialized style of UITableViewStyleGrouped.
I'm following this guide to create some animations to my app and thought about writing a very light not distracting animation to my tab bar. I've searched apple guidelines but didn't saw anything against it, yet, I don't think I've ever seen an app doing something similar. Is that because it's not allowed or is there another reason I'm missing?
Any one knows an app that does something similar?
I'm using a simple slide in/out effect for the tab bar in my App.
No problems in the review.
The code I'm using is at https://stackoverflow.com/a/5272497/725594
I need to create an intro for IOS app, I want to create transition between images like Macos X screensaver themes (beach, forest...) with music, and text appearing and fading. I don't know exactly which IOS API/framework is the most suitable to use to achieve this. I will appreciate suggestions or links to tutorials.
Many thanks
These links might give you some inspiration on at least how to get started:
iphone fading of images
http://www.youtube.com/watch?v=a4M0BkJwLT0
How about UIImageView and UILabel, with block animation?