i.e. does this call:
NSString *udid = [UIDevice currentDevice].uniqueIdentifier;
return always the same UDID when it is executed on the iPhone Simulator on any mac computer or not?
Currently the iPhone Simulator on my computer returns "2BA99337-3AE2-5234-93DA-193703B876F8".
...
Hi,
I am creating a UIViewController using the nib file ?
I have implemented the following 2 methods
(void)viewDidAppear:(BOOL)animated
(void)viewWillAppear:(BOOL)animated
in my view controller, but these methods are not getting called every time ?
What is the error in the code ?
...
I have two types of objections: locations and history items.
I'm trying to fetch locations which are attached to any history item, so my fetch predicate for the location is "history.@count > 0", which works fine.
I'd also like to sort the location objects with an NSSortDescriptor by the date of their latest history item, which as far as...
I just downloaded the crash reports for one of my iPhone apps from iTunes Connect. The most common crash has a trace like the following:
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0xa1b1c1db
Crashed Thread: 0
Thread 0 Crashed:
0 libobjc.A.dylib 0x3030e6f4 objc_msgSend + 16
1 ...
Please forgive the newbie question. I have an iphone game that currently uses lots of png images for animations. While this works well, the images are taking up alot of memory. I have the images in a vector format as well and I would prefer to use those instead of the pngs.
Is there a native way to do that?
...
Hi everyone,
I've been cracking my head on a prob that doesn't quite make sense. Say I have the following in my project:
AppDelegate
MyClassA
MyClassB
MyViewController
In MyClassA, there is a property of type MyClassB by the name classB.
MyClassB has a property of type NSMutableArray by the pointer name myArray.
When in the MyViewCon...
Hi guys!!
I'm using a UIScrollerView and I found that it tends to "snap" back to a previous position when I scroll it.
I would like to simulate the behavior if the UItableView's scroller, that stays in the position where the user released his finger.
Thanks in advantage for your help
Alejandra
let me add the properties set:
[scrol...
Hi All
I want to show the files having extensions XMDF and EPUB in iPhone.
Please help if any body have done it.
Thanks
...
I have all my controls laid out in interface builder (many labels, buttons etc). How do I put them all in a scroll view in interface builder so that I can have more space and be able to scroll up and down to reveal more controls? Do I have to do this programatically?
...
Here is my problem:
I've read a lot about how to use a tab bar within a navigation based application, but i still can't figure it out. I have tried both to use and avoid using a tab bar controller, but i just can't find the solution.
I already have a navigation based app working. I have several nib files (views), each one with its own ...
I have a UIImageView object, attached to a controller. It displays fine. What is a easy way to get zooming and panning with the least amount of code? Perhaps some library out there that does this? Hard to believe the SDK does not provide anything.
...
Hi,
In my iphone application i want user device all the settings information using code.
i.e. User name,Device OS,Device Version etc....
IS it possible using code or not?And if possible please provide code or any other useful link,which would be appreciated.
Thanks,
Mishal Shah
...
Is it possible to pull information from a website and display it in an iphone application?
I am looking to pull the current temperature and barometric pressure for an airport from the http://adds.aviationweather.noaa.gov website and display those two pieces of information in an app.
This sounds like a common task that programs do all ...
I'm in the processes of internationalizing an iPhone app - I need to make programmatic changes to certain views based on what the user's current locale is. I'm going nuts because no matter what the language preference on the iPhone simulator or actual hardware are, locale always evaluates to "en_US":
NSString *locale = [[NSLocale curre...
Hi..
I'm currently developing a project that at some part calls a number of the user's choosing. I use the snippet below to call the number.
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:newNumberString]];
The problem is that the box that pops up has buttons with titles in English, but my program is not in English, ...
Can someone please school me on the proper way to load a view hierarchy from a nib file. I am using the loaded view as a template to stamp out a family of views and the current approach I am using is subtly broken. I don't appear to be copy-ing or retain-ing when I should be. Here's the relevant code:
// pageSet is a list of view tag nu...
Why is [NSFetchedResultsController performFetch:] crashing when recreating an NSFetchedResultsController with an equivalent NSFetchRequest?
I have an app that has a table view controller of threads (message threads). When you tap a thread it loads another table view controller that uses an NSFetchedResultsController to get all the messa...
If I want to have 20 objects all running their own animation on the screen at once, is there any way to go about doing that without an obvious slowdown?
My example here is the main screen, in edit mode. Every icon on the screen is shaking slightly, but there's no noticeable slowdown. When I tried something similar, the animation slows...
Does anyone know how I can animate the blue circle / dot like google maps when you find your current location? I saw this in a differnt iphone application and was wondering how to programatically create that animation and look and feel using the iPhone SDK 3.0? Can anyone shed some light on this? Sample code would be great.
...
Hi,
As I am aware iPhone has got 2 speakers: quiet(phone) and loud speakers.
I am using AVAudioPlayer to play an mp3 file. iPhone seems to choose what speaker to use arbitrary. How can I make sure that my audio will always be played via the loud speaker and at a maximum volume?
Thanks.
...