iphone - adding uibutton to a detail view programatically -
How is it possible to add a UIButton, which can display a phone number and call that number See the table of the cell
Thank you.
Ask you to use the telephone: / / url scheme and it
Gives a good example:
NSString * phoneStr = [NSString stringWithFormat: @ "tel:% @", [auto contactDetails objectForKey: @ "phone"]];
NSString * escaped = [using phonestat string like display screen; encoding: NSUTF8StringEncoding]; [[UIApplication shared application] Opal: [NSL URL URL Authorization: Escape]];
Comments
Post a Comment