iphone

JavaScript Google Maps API and web application on IPhone

Hi, I have developed a web application for mobile phones that uses JavaScript Google API. It works fine on any Android phone however on IPhone the map is not "dragable" - I can't move the map (I click on a map and try to move it but it stays the same as if I was trying to move a static image). I found some information pointing out that i...

Facebook login problem in iphone?

In app I used fbconnect library in case of my app the fb browser shows lot of thing but i actually want the browser which shows only two textfield & one button for submit what i do for that still i'm using only fbconnect not fbconnect with json. ...

Strange Xcode warning

I have in my Picker class: - (id)initWithFrame:(CGRect)frame withSender:(id)sender withDate:(NSDate*)date { if ((self = [super initWithFrame:frame])) { datePicker = [[UIDatePicker alloc] initWithFrame:CGRectMake(0, 0 , 0, 0)]; datePicker.date = date; [sender changeDate:self.datePicker]; datePicker.date = date; } And in the send...

Are iPad and iPhone versions of an application upgraded independently or as one binary?

We have an app (runs on iOS 3.0 or later) in app store already and , we planned to upgrade that app as an universal app. I believe that, when we submit an universal app ( runs on iOS 3.2 or later) , App store retains a copy of iPhone-only version of that app , and serves that copy to iOS 3.0 Customers (if OS Deployment target in Univers...

I am getting the leak in the follwing code ? memory management

Hai Guys, I am getting the leaks as 100%. I don't know how to release the object after it returns Could you explain the procedure how to release the allocated Titles object. -(Titles *)listTiles { Tiles* tile = [[Tiles alloc] init]; tile.googleTile_X = (int)tileX; tile.googleTile_Y = (int) pow(2, aZoom) - 1- tileY ; tile.zoomLevel ...

iPhone POST request truncates string

Hello all, When I try to send out a POST request to a specific site the string I try to send gets cut off. When I check the length of the string in Xcode it is about 55000 characters long. The amount of characters received on the site is about 4500. This is my code: -(IBAction)convert { NSString *rosterText = [webView stringByEvaluat...

adding photo on facebook wall.

- (void)postToWall { FBStreamDialog* dialog = [[[FBStreamDialog alloc] init] autorelease]; dialog.userMessagePrompt = [NSString stringWithFormat: subjectTitle]; //subjectTitle works here but not as name where i need it. NSString *src = @"http://www.sample.com/image.png"; NSString *name = storyLink; //<---------------------------------...

Programmatically layout iPhone UIView?

I am using the iPhone toolchain on Linux and so I have no Interface Builder. So how could I layout my view in my ViewController subclass? For example, I want a UITextView in the middle of the screen? Should I do this in the loadView or viewDidLoad. Do I also have to set the view for the ViewController subclass to itself? ...

deleted. question closed.

deleted. question closed. ...

UITableView scrolling problem

Hi all, I have a UITableView which reloads every 3 seconds. I reload it only if my Boolean variable is true. In some conditions that variable is always true and that time table is difficult to scroll. (performance is not very good). Other times its ok. What should I do? Note: I have coded my table according to apple's recommended way(U...

Parse youtube playlist on iphone sdk/ iOS

Since Days i'm trying to parse a YOUTUBE-XML-Feed by using GDATA-API for iOS. http://code.google.com/intl/de-DE/apis/youtube/2.0/developers_guide_protocol_channel_search.html NSDictionary *namespaces = [NSDictionary dictionaryWithObjectsAndKeys: @"http://www.w3.org/2005/Atom", @"", @"http://schemas.google.com/g/2005"...

UIActivity Indicator with mediaplayer framework

i am playing video from URL, i need to display the activity indicator while my movie is loading and if also was buffering at any time. ...

iPhone App call third-party dylib failed

Hey, guys! I want to wrap the vlc, importing the vlc dylibs. But this simple iPhone App call those third-party dylibs failed at the beginning of loading without any prompts. I even try to make a 'hello world' xcode project, just add libvlc.2.dylib & libvlccore.0.dylib but not calling, without any 1 more code manually. After download it t...

how to check if CLLocationCoordinate2DIsValid is available?

i'd like to use the CLLocationCoordinate2DIsValid - check, which is available in iOS 4.0 and later. how can i prevent this from being called on a iOS 3 device (it wil crash...)? i tried with: if (CLLocationCoordinate2DIsValid != NULL) { //use the check } else { //do a own check } why do iOS3 devices try to "use the check" instea...

Does NSXMLParser eat blank values?

I have some XML which looks like this: <?xml version='1.0'?> <methodResponse> <params> <param> <value><array><data> <value><array><data> <value><dateTime.iso8601>20100508T14:49:56</dateTime.iso8601></value> <value><string></string></value> ...

jQuery code not executing - iPhone

Im using jquery in webview basically im calling jquery method inside the html string loaded inside the webview. problem is webview is loaded properly but method is getting executed. i tried putting breakpoints it's hard to see the execution inside the string. Thanks in advance. ...

UITableview not reloading after UIAlertview

Hi after entering with a new item, in the delegate method from UIAlertview, I calling reloadData from Tableview and it is not being updated: - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { ...

Dyld: Library not loaded

Hi again. I am trying to link the library libssh2.1.dylib to my iPhone Xcode project but I get this error when I try to link it. If I don't add this as a framework I get Symbols not found error. Now /Users/Matt/Documents/Development/iPhoneApps/Portscanner/lib/libssh2.1.dylib is not the correct pathway to that file. I downloaded the libra...

iPhone fullscreen webapp without AJAX

I'm building an iPhone webapp (using JQTouch at the moment). It's a fullscreen app, you know, the ones installed on the home screen without the Safari chrome. If you tap a normal link (without AJAX that is) the link opens in Safari, taking you out of the webapp. Is there a way to build non-AJAX webapps for iPhone? The problem is AJAX i...

How does a subview frame change if I transform the view frame?

I have to do this: 1:CGRect originalSubviewFrame = subview.frame; 2:view.frame = (CGRect)newFrame; 3:subview.frame = originalSubviewFrame; I think instructions 1 and 3 shouldn't be there but if I don't restore the subview shape, it change for some reason!?!? I read the documentation but it's unclear. ...