How to get last dialled number or call logs in iPhone Programmatically
Hi All, Can somebody help me in getting the last dialled number or call logs in iPhone Programmatically? Thanks in Advance. ...
Hi All, Can somebody help me in getting the last dialled number or call logs in iPhone Programmatically? Thanks in Advance. ...
Is it possible to find the object named with specific string. For example i can use that in php $objectname="foo"; $foo="bar"; echo $$objectname="bar"; is this possible? objectbyname would a proper function for this. ...
NSOperation *operation = /*some operation*/; [operationQueue addOperation:operation]; // … // Some work // … return Value; I want to get Value from function before operation ends. ...
Hi, I have got I have got two methods both in different classes. One is class method and other is instance method. i am calling class method from instance method. When instance method finishes it gives runtime error "EXC_BAD_ACCESS". #import "xmlObject.h" #import "textmeAppDelegate.h" @implementation Class1 - (void)method1 { ...
All of my view has a blue navigation bar but when I want user to choose a photo, the UIImagePicker is black. I tried to set the navigation bar of UIImagePickerController to blue using UIBarStyleDefault but it does not work for me, the color is still black. I tried with other UIBarStyle like UIBarStyleBlack and UIBarStyleOpaque as well bu...
I have a class like this @interface MyParentClass : NSObject { NSString *objectName_; } @property(nonatomic, copy) NSString *objectName; @end and in implementation, I have this: @implementation MyParentClass @synthesize objectName = objectName_; @end then I have a child class that inherits from MyParentClass like this @interfa...
Hello, we have an iPhone app in the app store where we see a lot of crashes after an update. These crashes did not occure when testing it before submiting it to the app store and we cannot reproduce the crash on our own devices. Heres the crash message we get: 'NSInvalidArgumentException', reason: '* -[MessageHeader ]:unrecognized ...
i'm trying to implement a system whereby the user is initially presented with a single tablecell, in a uitableview (grouped style), within a uinavigationview. --------------- + | add record | --------------- When they click on the cell, they are pushed onto a new screen where they fill in a few textviews (perhaps imbedded in a ta...
Newbie Cocoa Touch question: I'm aiming for an interface with a UIPickerView and a UIButton. The picker needs a delegate and dataSource, which I originally wrote as a separate PickerController class implementing the right protocols. However, I'm now unsure as to how to use interface builder to link everything up. If I have a separate ...
Hi I am currently working on a project that uses CoreData and relations are using NSSet. I have currently 2 problems : How to iterate over an NSSet using an index ? --> SOLVED How to remove a specific object ? => I guess I need to iterate and check for the object ? hmm looks like I also have a problem adding an object ? Whats wrong ...
I want to be able to embed a UIWebView into a tableview's cell (grouped style). The web view is long (longer than the screen), and I want it to display it's full length. So there is no scrolling within the web view itself, just on the table. ------------------------ | a normal table cell | ------------------------ | a normal table cel...
Hi I wan' t to implement a custo initialization method for my UIViewController Subclass to "replace" the initWithNibName method. This is the code: - (id) initWithMessage:(NSString *)message { if ((self = [super initWithNibName:@"ToolTip" bundle:nil])) { label.text = message; } return self; } The Label isl...
Hi I've defined a new type with this code typedef enum result { error, error1, erorr2, }result; After that I want to implement a method that takes a "result" as parameter - (void) setError:(result)errorNumber It seems that it is not allowed and give me an compiler error. Is not possible to use user defined type ...
how do to date validation using objective c ...
Hi I have a question regarding a rather advanced DataModel which I would like to use with CoreData. Before I get into details about what I did so far, I will describe what I want to do. I have a List of Hotel Guests that stay in one Room and have Preferences. Once ready the user should select a guest and see the data and should also b...
Hi, I have got I have got two methods both in different classes. One is class method and other is instance method. i am calling class method from instance method. When instance method finishes it gives runtime error "EXC_BAD_ACCESS". #import "xmlObject.h" #import "textmeAppDelegate.h" @implementation Class1 - (void)method1 { ...
hi i am having 2:01:20 PM format in one label, after some calculations , i need to change the hour, minute , of that label that is , is it possible to change that label value,by converting it as NSDate object and can modify hour , minute like 3:20:30 PM is there any setter methods to do it. Thanks in advance. ...
i want to open the pdf file in my app from pdf page, but i am not getting any option of opening the pdf in my app. this my info.plist file <key>CFBundleDevelopmentRegion</key> <string>English</string> <key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeName</key> <string>PDF</string> <key>CFBundleTypeRole</key...
I am attempting to load up an entire array of NSManagedObjects into an NSArray, then use an integer iterator to iterate through the array when a button is tapped. xCode seems to dislike declaring the integer and NSArray in the .h, then used throughout different methods in the .m. I was wondering what the appropriate path an experienced ...
Hi, I have a problem with my app. I have create these. My app store the accelerometer value (x,y,z) in an NSarray for a little time. The information has store correctly but now i want to identify the similar path but i haven't any idea. Can yo help me for identify the similar path that i have stored? Thanks and sorry for my english ...