mobclix.com has an API for integrating with facebook.com. Is there something similar for twitter.com and other social services? Meaning, these will look like native parts of your app?
Hi all, is there a way to programmatically access the age restriction set in the parental controls on the iPhone/iPad/iPod? I'd like to disallow features if the age restriction is too low. I've been searching around, but maybe I'm not using the right search terms or something. Any help appreciated. Maybe it just doesn't work this way.
thanks
I'm working on an iPhone application that makes a few calls to web services. I posted this application on the Apple store but it got rejected (and rightly so) since there was no error message displayed to the user if no Internet connection is available. Since obviously the application would not work without it.
So I just wanted to know how to best…
Hi all,
How do you get "MayurS123" from following xml tag by parsing?
<eletitle lnk="http://192.168.10.2/justmeans/trunk/newsfeed/mayurs">MayurS123 Sharma</eletitle>
My file is getting parsed properly. Here I'm able to retrieve the lnk component by doing:
if([elementName isEqualToString:@"eletitle"])
{
aGoodwork.lnk =…
I'm new to iPhone development, and I have a question on how to create a view for my application.
The view should display a problem (using formatted/syntax highlighted text), and multiple possible answers. The user should be able to click on an answer to validate it.
Currently, I am trying to use a UITableView embedding UIWebView as…
does anyone know how to display a number on the screen/iphone simulator?
I can load the data and create a x/y graph. Now instead of showing the graph, I load a data value from a text file, and I want to display that number on the screen. Does anyone know what function i can use?
.......
NSString *data =[myText objectAtIndex:1];…
Hi,
I'm trying to do the following:
I need to do a lot of custom things, so I subclassed everything.
I'm having issues with autoresize and positioning. For instance the UIToolBar is not at the correct position.
So here is the question:
If you don't use UITableViewController or any other Controller, that takes care of all…
Hi,
I'm trying to develop an application that use the GPS and Compass of the iPhone in order to point some sort of pointer to a specific location (like the compass always point to the North).
The location is fixed and I always need the pointer to point to that specific location no matter where the user is located.
I have the…
Hi, is there any way to detect device with xcode ? i mean when my app runs on the iphone 3g , show an alert an says this feature works only 3gs
thank you .
Hi.
I wanna wrap some text around a UIButton or clickable image in some kind of scrollview.
My ide was to add an UIButton to an UIWebView, but thats not possible?
Is there a way to wrap text around an UIButton in an UIScrollView or UITextView?
Or can I add an image to the UIWebView and handle the clicking somehow?
Hi guys,
I'm working on a new test app (just out of curiosity really) which is an add on to iTunes. I'm trying fairly basic things at the mo, and have managed to control volume, pause etc etc.
I have a function from some demo code which loops through all the tracks in my main library and gets their album name... I then…
I'm currently making an iPhone app that has PDF viewing a crucial part of its functionality.
However many of the PDFs aren't iPhone friendly and require zooming and panning to read them.
Is there anything I can do to make them better whether with the PDF itself or programmatically? (I'm currently using a UIWebView PDF…
I read about NSLocaleCurrencySymbol, but where would I find the variable used to determine the "number of decimal places" used in a country's currency?
I.E. In the USA, it's common to see dollar amounts written with 2 decimal places: $1.23
What about many other countries?
Thanks.
I'm trying to set up some like buttons to a project. These buttons live inside a jquery slideshow with Aino's Galleria and let you "Like" each different slide. I'm using an xHTML strict document and while in Firefox (and Firebug) everything seems ok, but in webkit inspector I get this:
XML self-closing tag syntax…
I'm having issues with switching xib's when I try to from my second view into the third.
I get into the second view from the first like this...
-(IBAction)startButtonClicked:(id)sender{
Number2ViewController *screen = [[Number2ViewController alloc] initWithNibName:nil bundle:nil];
…
Hello,
In some applications like Mail, when you have a UITextField, there is a little + button to the right. When you tap it, a modal view controller comes up which you can select a phone number, address, etc from, and it will appear in the text field. I was wondering how to implement this…
I'm developing an app where I use performSelectorInBackground to do some sync task in the background. In my code I want to be able to detect whether I'm runing in a background process. This way I can prevent alert messages which might otherwise show up.
Thanks for your help!
Markus
Hello all,
I am having some problems trying to figure out the best way of generating a random time of day. For instance, if I want to choose a random time between the hours of 9am and 5pm, what would be the best way with the least amount of overhead on the device? I guess I need someone…
I'm building my first website with AS3, and I'm using Flash Builder 4 to create/edit my AS classes. I have two .fla files (preloader.fla and portfolio.fla) which I both published as .swc and loaded them into my ActionScript project in FB4 (build path). When I hit debug, FB4 automatically…
I think this should be simple but I am having some difficulty implementing it.
I take a photo from the camera, the user can then move and scale it.
They then choose "use" and they get a preview of their image.
Now what I want to do is overlay an image on top of this preview image -…
Hi All,
Im trying to write a method that will pull out the ID from a URI String. My code below seems inefficient, what would be a better way of finding the id string?
NSString *aID = [[[NSString alloc] initWithString:@"http://www.example.com/id368907840?mt=8&uo=4"] autorelease];…
Hi. Maybe someone can help me with this strange thing:
If a user clicks on a button, a new UITableView is pushed to the navigation controller. This new view is doing some database querying which takes some time. Therefore I wanted to do the loading in background.
What works WITHOUT…
Hello, I am making a twitter application for iPhone, I am trying to add a button which will open Safari, and take the user to their twitter homepage. I have a textfield called username, so the following code does not work, hopefully someone will be able to help me out.
…
Does anyone know how to display a text file, if its in the "Documents" folder of the iPhone application? The extension might not always be ".txt", but I would like to give it a try.
Thanks,
Kevin