Hello everybody,
I have been programming an app using the mapkit and the SDK 3.0. Everything works allright except for one detail. I have noticed that when displaying the userlocation I get different user positions on the map dependent of the current network. I have read about this problem and understand that it is common? In my WLAN is ...
Hi All,
I'm trying to embed a WebView inside a UIView/TableView so as to implement the combobox. The WebView will have the select element , after the selection the value should be returned to the main UIView. I'm not sure how to implement this.
In the ViewDidFinishLoad, I try to run the JavaScript like this:
- (void)webViewDidFinishLoa...
Hi
I am having to picker controls on a single view with two outlets for each. Now when I select any of them same delegate methods are get called. How should we distinguish between which picker control has called the delegate ?
Another question is can we change the frame size of the pickers to fit in one view?
Thanks
Amit
...
why app does not crash when i release any autorelease object, or is it that my app will crash some time later when autorelease pool is drained?
...
Hi,
I have a problem regarding Web service. I can Parse the XML obtained from the web service but I need to send the back to the web service with modifications. Example will be to send text answers to questions back to web service.
how to do that?
Thanks in advance.
...
Is there a way to make a keyboard disappear without resignFirstResponder? I have a UITextField, and I'd like it to be able to accept new text and still have the insertion point (flashing cursor) visible without the keyboard being on screen.
When I perform a [textField resignFirstResponder] I can still insert text, by appending to the t...
Hi there,
I have a UIViewController subclass to control a UIView that I want to add to a UIScrollView. I only want the view to be 100px high, but when I add it to the scroll view it gets made 460px high, ignoring the frame size I set:
MyViewController *vc = [[MyViewController alloc] init];
vc.view.frame = CGRectMake(0, 0, 320, 100);
my...
I would like to have a view (Hierarchy structure) under Navigation Controller (the top blue navigation bar) that has a TabBar (the black one in the bottom part) to show additional views (each for tab) at the same level.
If you select one of theese views (black tab bar) you should always have the TabBar visible to jump to another view ...
Does anyone know if this solution can be approved by Apple submission app?
- (void)webViewDidFinishLoad:(UIWebView *)webView
{
CGFloat webViewHeight = 0.0f;
if (self.subviews.count > 0) {
UIView *scrollerView = [self.subviews objectAtIndex:0];
if (scrollerView.subviews.count > 0) {
UIView *webDocView ...
I am writing an app that will use Reverse Geocoding to translate the user's current location into something like a Street Address or City. It seems the only way to get this kind of information is via MapKit (specifically the Placemark class).
Can I use this without having to display a map to the user?
The reason I am asking this is bec...
Hi all!
I'm making an application which uses an UITextView. Now I want the UITextView to have a placeholder similar to the one you can set for an UITextField.
Does anyone know how to do this?
Thanks in advance.
...
How can one debug errors related to code-signing and missing certificates? Can I do the process from command line?
In XCode under 'Organizer > Provisioning Profiles', I get 'A valid signing identity matching this profile could not be found in your keychain'. How can I debug this problem?
...
Hello Stacked-Experts!
My question: How to generate a string from a CLLocationDegrees value?
Failed attempts:
1. NSLog(@"Value: %f", currentLocation.coordinate.latitude); //Tried with all NSLog specifiers.
2. NSNumber *tmp = [[NSNumber alloc] initWithDouble:currentLocation.coordinate.latitude];
3. NSString *tmp = [[NSString alloc] ini...
When working on complex problems, I find myself trying all sorts of solutions and, while doing my best to stay organized, the code can get quite messy. Objects may be changed and no longer be of use, while other times I may add snippets of code that do not end up being used by the program but are taking up space and possibly memory.
Asi...
Hi,
I want to distribute an iPhone app to the store and cannot find any guidelines for the iTunesArtwork icon. I heard it has to be jpg, but
can it also be .png?
do they add the rounded corners?
do they add shine?
...
...
I seem to be having a problem with the titles in my application.
Let me describe what is happening here.
1) starts out good with the correct image
http://img262.imageshack.us/img262/5808/picture15b.png
2) still good after clicking a cell
http://img31.imageshack.us/img31/4440/picture13dvg.png
3) after hitting the backbutton previo...
So, I've been using this little bit of Javascript (as a bookmark) to increase the font size of various websites I visit on my iPhone's Safari browser (zooming in leads to too much scrolling from side to side).
http://www.everythingicafe.com/forum/iphone-software/increase-font-size-in-safari-without-zooming-9511.html
javascript:for(i=0;...
I always thought it's double, until I accidently hit floo+ESC and it told me there is a floorl(<#long double #>) function. So long double is the solution to all big inaccuracy problems? ;-)
Or is there even something more precise than that?
...
Does anybody know if you can actually pull done messages/comments from facebook into an iPhone app? Every app I see in the app store allows you to post to facebook. I have an app idea that includes actually seeing your friends messages and wanted to see if the SO community has seen anything like this before or if you are able to do this....
Above given images is of my application leaks.
Here I want to understand that, in Extended Detail - you can see different colors like light green, light pink, light brown, light purple.
What does each color indicates?
Now the other confusion is "How to locate the code which is creating a memory leak?"
Upto what limit of memory leak...