Hello everyone!
I'm currently building an iphone app based on gsoap for the communication. I'm trying to manage connection problems and I can't find any specific return statement when the device is not connected to host.
Is there a way to get some kind of exceptions when running gsoap send or reicv methods?
Thanks for help,
Romain
...
I currently have an application that requires the user to maintain a VPN tunnel, on load i check if the VPN tunnel is available.
I am wondering if there is anyway for me to display a UIAlertView which on clicking "OK" takes the user to the iPhone main settings screen, so they can turn on VPN.
I know how to store app specific settings a...
I've always been able to get images into iphone simulator 3 by the usual methods described on this site (i.e. dragging image into iphone simulator).
However, having upgarded to the new xcode 3.2.3, although I can still save images to the simulator, I can't actually see them there when I go to the library on the simulator.
Thankfully - ...
Update : found the solution. I will update this question soon with the actual working code and command.
A client is encrypting a file server-side with C++, and I need to decrypt it in an iPhone application.
My client can crypt and decrypt on his side, and so do I on the iPhone, but we can't decrypt the file encrypted by each other.
I...
Hi,
I have a problem when trying to delete rows from my UITableView:
The UITableView gets the number of rows from NSMutableArray:
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
return [alertsArray count];
}
I add objects to the NSMutableArray in this way:
- (void)saveButton:(id)sender {
[...
Hi all,
I would like to send some information to a 'HTTPS' server and get the cookies and html code from the server. I have already complete the cookies and the html part. However, when I use the 'GET' method to set the url and use the statusCode to see the http status code, I found that the status code is 0. I found the error is about ...
Hello friend,
I am trying to read a PDF on iPhone, I got to know that we can get the info about PDF from CGPDFDocumentGetCatalog method. But, this method returns a CGPDFDictionaryRef. I have browsed through the documentation and didn't find any method to extract its Key/Values. Please help me if anybody has solution for the problem. Or ...
Apple says you must have @2x versions of your images and use a stuff like
UIImage* anImage = [UIImage imageNamed:@"Button"]; // without the extension
That will select the lowres and hires versions of Button image, depending on the iPhone version (3G/3GS or 4). But what if the app is for iPad too?
Will the iPad load the Button image e...
Hello,
I'm working on a Iphone web page that would be good to have in fullscreen. The only means I found for this were setting the meta tags:
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Anyway this works only f...
Hi,
I am building a web application for iPhone. Since the application shows different content while in different orientations, the built-in animation between the two orientations animates the original content as well.
For better result, I would like to disable the animation between the portrait and landscape. Is there a way to do it fo...
Hiya,
While implementing TableView I've stuck with the problem that I somehow has broken "lazy" loading behaviour of UITableView. Now upon entering the screen it loads all the cells (both visible and invisible).
Could someone point out where I should look at?
In IB I have such an organization:
-> UIView
--> UIScrollView
---> UITable...
Hi all,
I've a tableviewController in a class which I need to present modally from another class. In the modaltableview class, I'm creating tableview in viewDidLoad and apart from this there are tableView delegate methods in this class.
My question is how do I present this class object to show this tableViewController modally?
I've pre...
I'm developing an iPhone app and have a cell object.
UITableViewCell *cell = [myTableView cellForRowAtIndexPath:indexPath];
But how do I GET the text from that cell?
...
I am just looking at mapKit and decided to make a quick button to display my current location, however when I press the button my latitude/longitude always display as [0.000000] [0.000000].
The mapView is loaded as I can see the map on the simulator before I press the button. Previously I have done this by using coreLocation.framework a...
Has anybody used PLCameraController class in iPhone OS 4.0?
Can you please share example how you are using it? Can you also share interface declaration for it?
Thank you.
...
Hi all,
I know many people have had the similar issues and some have sorted them and others not. Basically I need some way to refresh the map ie get a callback to mapViewDidFinishLoading. If the location displayed has already been seen by the user it seemd the map is loaded from the cache and doesnt call mapViewDidFinishLoading which I ...
Hi all! I have this problem....
in my viewcontroller.h I defined my class like this:
myClass* iR;
and after:
@property (nonatomic,retain) IBOutlet myClass* iR;
into myClass.h I added this:
@protocol myClassDelegate <NSObject>
-(void) didLogon:(bool)isLogged;
@end
and after:
@property (nonatomic, assign) id<myClassDelegate> dele...
Trying to return whether a record exists in SQLite on the iPhone except I keep getting an 'unknown error'.
selectStmt is static sqlite3_stmt *selectStmt = nil; used here if(selectStmt) sqlite3_finalize(selectStmt); which only gets executed if the application terminates. This functionality works fine with delete statements and insert sta...
How can we read executable files in memory and then manipulate them , does NSFileHandle can works with executable files and how so ?!
Thank you.
...
Hi,
I have an image plan of stores of exhibitors hall. So I need to add annotation to each store in the plan, which is a jpg file.
iPhone MapKit looks like supports only world map. Are there any way I can add my own picture and add annotation to it like google map annotation.
Thanks
...