Hi,
In my iphone application i have used MK MapView to navigate from different pages.
But when the MKMapView controll run at that time the the control is not going back again in the application.so i am loosing the application flow,and i have to run the application again.
/* [[UIApplication sharedApplication] openURL:[NSURL URLWithStri...
Hello,
iSTat shows a list of running tasks and also shows the Mac address of the Wifi connection. I understand that there's a way to get the Mac address via NSHost but it seems to be a private API. Also the task list is a mystery to me. Where do they get all that information from?
Thanks!
...
Hello,
I would like to use MPMovieplayerController has a playlist player.
so my question is did you success to acheive this ?
How to catch when user clicks on next button ?
I tried MoviePlayer from apple sample code, in order to add overlay, but it does not help for he next button.
thanks for your help.
Thierry
** my sanwer **
I c...
Does anyone know how I could record some audio on the iphone then change the pitch of the audio?
...
I'm having trouble popping a UIViewController off of a UINavigation controller even though the reference to the nav seems to be correct and a count on viewControllers shows the right number.
I have a UINavController that gets it's first UIViewController set and then the nav controller is presented in a modal view:
workoutNavController....
I've been building projects in pieces, prototyping different aspects of the whole in separate demo projects. I'm now in the process of migrating class and nib files from the prototypes into the target project and when I do so the nib files aren't behaving as they did in the prototype. I've been doing the migration by using the "Add Exist...
Is there a way to add earlier versions of iphone os in xcode 3.1.2, so I can build by app for different os versions?
...
I have a TableView that I want to change to a different view (View1) for editing the data for that row when editing is true. When editing is not true I use the didSelectRowAtIndexPath to change to a different view(View2) loading the information from the selected row.
An example of this is if you go to the built in clock select alarm, s...
I have a WebView, and I want to call a view in Objective-C from JavaScript. Does someone know how I can do this?
...
Hello,
is it possible to start an event when an UIWebView (Iphone) has finished loading the URL.
How can i find out, the current URL of the UIWebView?
Best regards,
Andreas
...
I know how to do it for a float:
#define kMyConstant 1.0f
but how could I do that fora BOOL value?
...
Hi,
I saw some web pages display diffrently on an iPod Touch (and iPhone) - they pretty much looked like the native iPhone apps.
Think this can be done with styles and, optionally, rendering diffrent HTML on the server side, based on the user agent from request.
So, how do I get this effect? And, also, is there any emulator of iPhone...
i.e. I want to bring this in my code:
static BOOL MyConstantBool = YES;
Must it be before or after @implementation? Are there rules where to place that? Can it also go into the header file?
...
I have an view in my App which has a number of buttons based on the number of items returned by the server. So if the server returns say 10 items, there should be 10 buttons and clicking on each button should call a different person.
For the above purpose I created a custom button class deriving from UIButton.
@implementation HopitalBu...
I'm learning this right now so the questions might be a little juvenile. Here's what I'm trying to do. I have the first view come up with a cell of the table populated statically, when you select one of the cells it will pull up a form to input data.
Now, I've been reading the documentation about navigation buttons and navigation in ge...
I've built an app that runs in the background (jailbroken phone, Ver. 3.0/7A341) that checks my website every hour. When the device goes to sleep, I set a time to wake up if it stays asleep
My app wakes up fine, then tries to make a network connection, but no luck. I've tried what
iphone-3g-connection-enabling recommends (NSURLConnecti...
Here's another very basic question. Is there an easy way to rename the rootviewcontroler? Say I decided that I needed to add a page before the current rootview (splash page, mini data snipits from the main app, ect.) How hard would it be to create another rootviewcontroller? I guess you would just take the current one and edit out lots o...
I have a custom class that has as an instance variable of a coordinate:
CLLocationCoordinate2D eventLocation;
@property(nonatomic) CLLocationCoordinate2D eventLocation;
I'm parsing an xml file that has an optional field that may or may not be there.
If it is i set it like so:
CLLocationCoordinate2D location;
NSArray *coordinateArray ...
I have a class which is intended to be abstract. This means: When someone subclasses it, a few methods MUST be overwritten.
But on the other hand, those methods are not intended to be called manually from anywhere except inside the abstract class (the superclass of the subclass).
Must I declare these methods in .h anyways or can I just...
This line of code does not produce the result I am expecting.
NSString *tmpstoryTitle2 = [tmpstoryTitle stringByReplacingOccurrencesOfString:@"\"" withString:@"\\\""];
I am attempting to change a string like this:
hello, "this" is my string.
to
hello, \"this\" is my string.
With the code above. However, the output I get is:
hell...