Hello,
I would like to get some information from a website. I have already got the HTML code of the website. However, I would like to get more header information of the website (e.g. http status code)
After read the apple library, I found that there are 2 methods which can display those information. However, I can only use one of the m...
If an application receives a low memory warning and a view controller releases the view, how does one reload the view the next time it's needed. I have my views defined in a .xib file and on earlier iphones, the views are being set to nil. Where/when/how do I recreate these views if they are removed?
...
I have some ideas for software that can create HDR images or panoramas. I'd like to learn how to do these myself, for example how to create algorithms for image alignment, combining parts of images for HDR & tonemapping, etc. (Preferably in C/Obj-C, though the concepts will apply to any language.) Where are the best places to learn about...
From what I have experienced it seems as if objects cannot be shared data members in objective c. I know you can init a pointer and alloc the object in each method but I cannot seem to figure out how one can say define a NSMutableString as a data member and allow all of the methods to use and modify its data as in c++. Is this true or am...
Are there side-effects to calling a custom getter with dot notation?
I had been using a synthesized getter in Objective-C via the dot notation, i.e.
tree.fruitnumber
returned the number of fruits in tree. I had to customize the getter (for reasons not pertinent to this question). I wrote it as
-(int) fruitnumber
{
//climb into tr...
So I'm working on a bookmarklet where it would be ideal for me to grab the content selected by the user using the "loop". Both window.getSelection and document.getSelection are functions that I can call, however, they always return an empty string.
I believe the problem is that when you tap on the bookmark icon in Mobile Safari, the sel...
Hi
I'm an iphone newb. I added the following code to my viewDidLoad() method but a blank screen shows up. What am I doing wrong?
FBSession *session = [FBSession
sessionForApplication:@"a31c3e53bba4a5f2b3955d6e5e 876717"
secret:@"6ecbefa3807406bd13187297e58efae9" delegate:self];
FBLoginDialog* dialog = [[[F...
i can receive the push notification.
But the iphone is in lock screen. if the new push notification receive. at that time, i unlock the screen, the app will launch automatically.
if i want the app not to launch when i unlock the screen.
how to do? Thank you.
...
Hello, how would you copy the last object of a array and then add the object to some array. So in other words i want to take the last object of someArray and copy that lastObject to someArray2.
Thanks,
-David
...
hi i am new to iphone Development...i have a problem that my application having UIScroll View on the top of table View having custom button.when user taps the button i want to load the same View controller Class with Same nib...With different Functionality.Can any one help for this..
thx in Advance...
...
Hi there,
We are making our very first iPhone game, and if the user gets a high score then we need to let them enter their name to store it in the high-scores database inside the app.
What I was wondering is how do we go about sanitising the input on the iPhone. Obviously we don't want them dropping tables when inputting their name!
C...
Can anyone please help me use the two functions properly?
CNMarkPortalOnline and CNMarkPortalOffline
What needs to go as an input parameter to these functions? The documentation says it should be an interface name. I can't make any sense what this interface name could be. I have tried passing SSID of the WiFi hotspot as an interface n...
I want to enable or disable the button. Is there any way to drag the outlet of UIButton on to the Bar Button? I tried, I could do that. How to enable or disable the button if I can't connection them together?
Thanks!
...
My app currently has what I'm pretty sure is a bad design, but I'm not sure how I can organize it any better. For example: LoginViewController sends the input text for the username and password to an instance of UserController. UserController sends a request to my server to validate the username and password, via NetworkRequestControl...
I have been using an RSS reader code example but have found a leak in the parser.
here's the code...
-(BOOL)fetchAndParseRss{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
[UIApplication sharedApplication].networkActivityIndicatorVisible = YES;
//To suppress the leak in NSXMLParser
[[NSURLCache shared...
Hi,
So I can't seem to find good documentation that will allow me to do the following:
I've got a bunch of UTF8 strings JSON'ed down to my iphone app and displayed into the UITableView. When the user click on an item, I want a UIActionSheet to come up to notify them of the category that they've selected.
Problem is is that the C...
Any idea on what is the average time that Appstore usually takes to approve/dis-approve a submitted application ?
...
Hi group members,
I want fetch all phone numbers from address book and i want to store in one array.
For that am writing this code,but am getting this error at second line Program received signal: “EXC_BAD_ACCESS”
ABRecordRef person;
ABMultiValueRef phoneNumberProperty = ABRecordCopyValue(person, kABPersonPhoneProperty);
NSArray* phon...
Hello,
I am able to stream and play LIVE audio from my http:// link in my iPhone application program. It is a LIVE streaming audio play. I use AudioStreamer example, works fine.
I also have another LIVE audio streaming content in the format of mms:// link.
mms://XXX.XXX.com/sample
I tried all the audio classes API's but nothing works. ...
Is it ok to use your view controller as your uiview's delegate, it seems to make sense to be as they are similar in nature.
More specifically is it OK to use your uitableviewcontroller as your uitableview's delegate and data source?
...