Hello,
I am working on an application in which i save Current Date in database but when my app runs in Arabic language the current date format is changed into Arabic.I mean the date format should be like this 09/02/2010 but the digits are converted to Arabic digits.So how do i convert them back to english digits even if my app running in...
Hi All,
Something odd is happening with my view controllers. When an applicationDidReceiveMemoryWarning is posted, it removes all views from the stack other than the visible view (a second level view) which is expected behaviour. However, if I then navigate back to the root view, it also has a back button that navigates back to itself. ...
Hi All
Another memory question on iPhone - When running the leaks application I see a number of leaks get identified, but are caused by NSFoundation or similar, rather than my application code. Where my application name is mentioned, I have obviously resolved the leak.
I assume I can ignore these and that my app will be approved, or am...
Hello i have a problem,
i have a app with two views (one mapView with pins) and one View with textfields with datas of the pushed pin.
If i click on a pin it works very good, but if i go back and click another pin, there are allways the datas of the first pin i clicked?
- (void) mapView:(MKMapView *)mapView annotationView:(MKAnnotation...
Hi
i am new to iphone application development.i am developing RSS feed Reader it has number of different RSS feeds. In my application (XML parsing),
i want to display the content of the row on cell for particular date and with their corresponding title, description (in my application, i am using three labels for displaying title, da...
Hi,
I am new to iphone development, Now i want to access the string variable in all the view controller, but i know to declare the variables in delegate method, but i cant access it, please help me out.
Mainviewcontroller-->Viewcontroller1_-->viewcontroller2-->viewcontroller3-->subwebview.
i have created one main view controller and t...
My iPhone app has few settings that users is likely to change quite often. I would like to know if there's any suggested way of handling such settings (reading and saving them). On Apple sites I found only a tutorial about integrating your application settings with Settings app (link) but I don't want a user to exit my app so he could ju...
Hi friends,
My aim is to convert NSURL to NSData without any memory leaks... I searched lot and found more than one answer from the website but nothing works for me. Can anyone help me?
Below is the method I tried, but so far nothing works:
NSURL *url = [NSURL URLWithString:@"http://images.apple.com/main/rss/hotnews/hotnews.rss"];
NSD...
Is it possible to test an iPhone app on an iPhone/iPod touch which is synced to a computer other than the host computer?
If so, will this also work for testing a device which is synced to a Windows machine?
...
Are there Battery related API:s available in iPhone SDK? I want to find the battery draining state and other things related to battery from my application.
...
Hi all, I want fire a button event(or maybe method) in code,the button was generate by iPhone SDK , I can not update it, so I add the action to the button, the code likes as follows:
[theButton addTarget:self action:@selector(onButtonEvent:)
forControlEvents:UIControlEventAllTouchEvents];
-(void) onButtonEvent:(id)sender
{ ...
In my App, when a certain button is pressed, I call a method (postButtonClicked:) that parses a web service on a separate thread. I then display the user an UIAlertView to inform them whether the call was successful or not.
Here is the code I use:
- (void)postButtonClicked:(id)sender {
[NSThread detachNewThreadSelector:@selector(p...
Hi,
We recently developed an iPhone optimized version for our site. The problem that I am facing is that if you use the Add To Home Screen feature and add our site (http://m.smh.com.au) to your iPhone home screen and launch the site from home screen, all the links will open in new tab. I cannot find any documentation about this feature o...
Hi there.
I am into a very strange problem. I have developed an app for myself, which has following three files
MyApp.app
MyAppDaemon.app
LaunchDaemon.plist
When i copy each file into specific folder using ssh , my app works perfect.
MyApp.app into /Applications
MyAppDaemon.app into /private/var/mobile/
LaunchDaemon.plist into /Sy...
Hi,
I've been trying out the URL schemes in the iPhone SDK and I have got my application to launch using a custom URL scheme like "myap://Dosomething" but that is not really practical for what I want. Is it possible to register a scheme somehow that would allow links in emails like "http://www.mydomain.com/" to launch my application, li...
Hello!
I'd like to know {insert_title_here}?
I use this method, but with no success:
//string data
NSString *post = @"message=helloWorld";
NSData *postData = [post dataUsingEncoding:NSUTF8StringEncoding allowLossyConversion:YES];
//file data
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, ...
In my iPhone application i am using multi-touch gestures for user interaction.
Is there any way to get multi-touch gestures when accessibility voiceover is ON ?
...
I am new to iphone development.I am parsing an XML page and displaying the content in a tableview.In some block in the XML page , the child element is missing , i want to add a value o in my array, when the child element is not fond in the particular block.My XML file is like
<entry>
<id>xxx </id>
<title>xxxxx</title>
<gd:ratings n...
I have a custom tablecell with an embedded MapView showing a small area. When the user selects the cell, I want to push a new view with a larger mapview and some more information, like distance from where you are, option of what map-type etc.
If I leave a small margin around my mapview, the user can click in that margin to select the ce...
Does anyone know of a good starting point to look into pattern and/or photo recognition development for the iPhone? In searching for it, I can only find examples of existing applications, but I would like to start developing one myself.
...