Hello,
I want to ask about the iPhone application objective C problem.
I wrote a program to store the cookies and pass to another URL to retrieve the cookies.
However, I found that one of the return status code is 0. The content of the html is empty.
Can any one help me?
The following is my code.
// create a new mutable url
NSMutab...
Hi There,
Is it possible to create communication between running program context and javascript ?
for example, iPhone have good example about it under webkit development on iPhone.
It's possible to invoke this command stringByEvaluatingJavaScriptFromString from webview in the application scope on Obj-C and iPhone platform. I'm looking...
I'm working with CGContext to create a simple square with four given points (the points should make a perfect square). However, instead of a 200px x 200px square, the iPad app makes, what looks like, 680w by 300h. Am I missing something?
int beginPointX, beginPointY, gridSize, gridPadding;
gridSize = 200;
gridPadding = 10;
beginPointX...
Hi!
I have a simple UIViewController derived class. Which shows a simple UIImageView. Now the problem is that when I load this view controller using [NSBundle loadNibNamed.. method and then try and access its view using
viewController.view the reference count of both controller and view go up by 29. Later on when I release this viewCo...
In my iPad app I am creating a root view that contains a lot of images that are used as thumbnails. Clicking a thumbnail presents a new window displaying details about said item, along with an enlarged thumbnail. From here it allows the user to open the item, or use aMFMailComposeViewController to create some files and export them. If t...
Hi all,
I've some files stored in a SQL database. When a user visits a url with the given ID, the BLOB data is retrieved from the database to the webbrower via:
Byte[] myData = b.BlobContent;
Response.Clear();
Response.ContentType = "application/octet-stream";
Response.AddHeader("content-disposition", "attachment; filename=" + fileNam...
hi all
i have an array
imageArray = [[NSArray alloc] initWithObjects:[UIImage imageNamed:@"1.png"],
[UIImage imageNamed:@"2.png"],
[UIImage imageNamed:@"3.png"],
[UIImage imageNamed:@"4.png"],
[UIImage imageNamed:@"5.png"]...
Hi,
I want to sent post request, but i need to send multiple files,
how to do this?
tnx
...
Hi,
I am not able to get NSUserDefaults concepts properly. Is that a database of plist file ?
...
Hello,
I am writing an iPhone application and I would like to connect to a 'HTTPS' server to get some information. However, I get the error in the console which is
NSUnderlyingError = Error Domain=kCFErrorDomainCFNetwork Code=-1202 UserInfo=0x3e95cf0 "The certificate for this server is invalid. You might be connecting to a server that...
I am debugging an application using iPhone 4 Simulator. I have selected it from the simulator menu (device = iPhone 4). When I run the app, the screen size is reported as 480x320 !!??
Is there something I have to modify on this app of mine (originally built for 3G/3gs) in order to make it run on iPhone 4 (yes, I have recreated all artwo...
Hello,
is there a simple way to round the result of a division to upper integer ?
I would like to have this :
18/20 -> 1
19/20 -> 1
20/20 -> 1
21/20 -> 2
22/20 -> 2
23/20 -> 2
... and so on ...
38/20 -> 2
39/20 -> 2
40/20 -> 2
41/20 -> 3
42/20 -> 3
43/20 -> 3
Must I manager with NSNumberFormatter stuff ?
I didn't success to get ...
I am trying to locate a message which I can override and then save changes to my application.
On MainWindow.xib I have placed a UIView and set its class (in interface builder) to be my Custom view TouchDrawView.
In TouchDrawView I have a bunch of code for handling touch events and 2 arrays which track these touch events.
My applicatio...
Hi everyone,
I have a NSMutableDictionary, and my keys are objects (and the class implement the NSCopying protocol).
I add a value in the dictionary associated to a key, then, when I call the objectFoKey: method for the key which is in the dictionary, randomly, sometimes the method call "isEqual" and the key is found, and sometimes, th...
how can I have a back button and another button both on the left side of the nav bar?
...
I've compiled an app with IPhone base SDK 4.0, deployment target on iPhone OS 3.0. This app contains OS 4.0 new feature: local notification.
It works well on iPod 2G with OS 4.0; however it crashes every time the app start up on iPhone 1G with OS 3.0. It appears to be runtime reference error:
"dyld: Symbol not found: _OBJC_CLASS_$_UIL...
Hi
Is it possible to allow users to preview music from either Last.fm or iTunes from within my app?
Are apple OK with apps streaming preview clips of music in apps?
This is a monotouch app.
w://
...
Hi,
i´ve searched the xcode doku but didn´t found anything about logging the datatype of a variable. How can i trace the typeof ?
Thanks
...
im having an issue with my tableviews and threaded data. in my app im downloading data in xml, including an image url which im then parsing to get the image for my tableviews.
im using the asyncimageview class (markj.net). if i thread the download of my xml, then realoadData the cells appear fine , appart form the images never load, unt...
I want to create log in app.
In log in process I create a UINavigationController to do navigation.
After log in, I want to jump to a UITabBarController window.
Therefore I added a UINavigationController *navigationController;
and set it as a primary view.
And UINavigationController *navigationController; to handle stuffs after log in.
...