Is it possible to add custom UITableViewCell row in addition to built-in email, phone rows inside ABPersonViewController?
I would like to add buttons like add, remove, etc in that cell, which will allow user to be added/removed into/from my application.
Please let me know, Thank you.
Pretty sure you've gotten the answer to this by this point, but I was just looking into do this myself.
Basically, No.
These controllers are not designed to be customized and Apple mentions it in their documentation.
This answer might help you:
https://stackoverflow.com/a/3507849/819355
It subclasses ABPersonViewController which allows you to play a bit with the screen controls...
Related
My question is one that I have been wondering for a while now, and I am ready to ask it. In my app, I have a flat unique design in which the default UIActionSheet design does not match.
My question is, how would I go about changing the design, or better yet: Could I create a UIView with the button(s) and add it to the view each time I want my custom created UIActionSheet to show?
Thank you for the help in advance!
Hi you can try this library :
BlockAlertsAnd-ActionSheets
In my application, I want to implement a drop down view when selecting every row in the table view.Can u give me an easy solution for implementing this functionality.
Thanks in advance
this type of functionality for that visits following link Please visit here.
You can also consider using navigation. That is how it is usually done in iPhone. On selecting a row in a table, push another table with the values you want to show in the drop down.
Apple has a sample code of TableView which deals with this issue. https://developer.apple.com/library/ios/#samplecode/TableViewUpdates/Introduction/Intro.html%23//apple_ref/doc/uid/DTS40010139 is the link to download the sample code from Apple developer library. Hope it helps.
It seems that you are requiring a popover on selecting a tableview cell.
Download and run the sample application provided here.
I hope this is the one you required.
I came across this: http://idevrecipes.com/2010/12/16/raised-center-tab-bar-button/, but I don't really know how to implement it into my app.
I have the UITabBarController as my app delegate, but I don't know how I can add a raised button item like in the link.
In my .xib file, I have the tabBarController set up with three tabBarItems. I would like to have the middle one raised, but I am not sure how to do that.
You won't be able to do it in a NIB using interface builder - the post you linked to has all the implementation and code details you'll need, so if you're not comfortable implementing UI code programatically you'll probably need to become comfortable with it in the near future.
Alternatively, you could look at using an existing library such as this: http://cocoacontrols.com/platforms/ios/controls/center-button-in-tab-bar - but if you're having trouble with the blog post you linked to I'm not sure a library will be much help for you!
I was wondering how to create a UITableView with editable components.
If you look at the network settings in the iphone, where you can enter the static ip address, etc.
How to do this ?
Thanks
http://furbo.org/2009/04/30/matt-gallagher-deserves-a-medal/
Check out that blog post. There's a link to some code named Generic Tables that will give you exactly what you need.
You may have to update some of the code to be 3.0 compatible, but that's just a case of updating the table cell init methods to use style instead of frame.
TaggedLocations project is a very good example of a UITableView with editable components.
You can see this example in Sample code library of Apple iOS:
http://developer.apple.com/library/ios/#samplecode/TaggedLocations/Introduction/Intro.html
Regards
I am wondering how Amazon did the highlight/note popup buttons in the Kindle app. After reading about UIPasteboard, UIMenuController, UIResponder, and UIResponderStandardEditActions, I am able to turn on or off standard edit actions (i.e. copy, cut, paste, select, and selectAll). However I haven't found a way to add a custom action yet. I would really appreciate it if I could get a pointer.
Thanks in advance!
Chris
(source: sampletheweb.com)
Edited by balexandre (added image instead link)
It looks like Amazon implemented their own custom view that mimicked the appearance of UIMenuController. I believe they did this rather than use SPI because if you click and hold on the Highlight cell, the arrow does not highlight, when it does in the real UIMenuController.
I don’t think there is a public interface to these controls, you’d probably have to code them yourself. (Or maybe figure out the private API, but that’s a slippery slope.) I am not sure about that, though, maybe somebody will prove me wrong.
That's a good point about the arrow part of the Notes/Highlight popup menu not highlighting, so they must be implementing their own.
However they are also obviously using a UIWebView, because it's recognizing tap and hold and they can highlight the text, and you can't get touch events from a UIWebView, much less get the information about what's selected. So how are they doing that?
This would be very useful for us to be able to do as well.
Use DTMenuController http://www.drobnik.com/touch/2010/01/dr-touchs-parts-store/
Costs 100 EUR ^_^
Custom menu items can be added via the UIMenuController's menuItems property. See Apple's UIMenuController docs.
the javascript part can be managed with jQuery, that's a fair simple and powerful library. i'm using it for resizing and rearranging things in a webview and it works great :)