Does anyone know of any tutorials or sample code that could help me achieve the following in an iPhone app (other than the offical Apple developer videos).
A user draws a path on screen
The path is compared to an already existing path to see if it matches
A match is determined not just by shape but also by starting and ending at the co...
hi i am new to iphone ,what i am doing is i am creating a button for the image to display in imageview.what i need is how can i get bauttontag value in imagepicker.m to imagepickerviewcontroller.m if it is give some sample code pls thanku
...
In my iPhone app I have a UIViewController that has a UITableView and another UIView, in its xib file, the view of the xib contains both the UITableView and the other UIView. Both view are linked as IBOutlets to the appropriate views in the xib file.
When I want to set the data source programmatically for the UITableView I create a metho...
Hi everybody,
I'm thinking of developping a mobile OCR app to detect words from mobile pictures.
The purpose if only to detect what words are in the picture, the layout is not important.
Also it would be use on very short texts.
I'm currently thinking of adapting tesseract to iphone and android.
I wonder if anyone has had any related ...
Using this code I am able to added two uiviews to my window
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
UIViewController* test = [[UIViewController alloc] init];
UILabel* label = [[UILabel alloc] init];
label.frame = CGRectMake(0, 0, 100, 20);
label....
I want to integrate twitter oauth authentication in my iPhone application but I am not able to receive the request token and access token. Can anyone please tell me the exact flow and the functions in the MGTwitter engine library of twitter for iPhone app authentication.
...
Hi, I'm trying to create a button which displays animated images. I read in this post the suggestion that I add an UIImageView (with an array of animationImages) as a subview of the UIButton. I tried to do this like so:
(animation1 is a UIImageView object declared in the header)
- (void)viewDidLoad {
UIImage *image1 = [UIImage imageNam...
In my app, there is a portion that holds a static contacts directory. I would like the directory to appear indexed (alphabetically) and the detail view will need to be grouped also. (I am somewhat trying to replicate the look and feel of the Contacts app.) I have it working, just no index and a detail page that is just a view with a col...
Hi
I have an iPad application which requires me to stream a video to a user only if he is connected to a particular wifi network. If his wifi network changes, I need to stop streaming.
Is there any way to know that the wifi network that the user is connected to has changed?
Are there any public APIs that can give me the SSID of the wifi ...
Hi all,
I need to see some String with unicode characters in the xcode console when I do NSLog(@"some unicode characters..").
Eg: abc\u0001xyz\u0002pqr...
Biut xcode console only shows the abcxyzpqr. It doesn't show the intermediate unicode characters.
Does anyone know how to view this?
...
Hi!
I make a keyboard from UIButtons. On this keyboard there are 49 UIButtons, which create the following:
- (void)viewDidLoad {
[self emoticonButtonOnTheKeyBoard_xCoordinate:0 yCoordinate:0 Emoticone_name:@"emoticon_angel.gif" backString:@"O:-)" keyboardView:self.view];
[self emoticonButtonOnTheKeyBoard_xCoordi...
In my application, once the user is authenticated, he receives a sort of security key that needs to be stored for his session on the iPhone/iPad. This security key is used for all his future requests during the session.
How safe is it if i were to store the key in some global variable once I get it? Can it be accessed if the iPhone is j...
Hi,
I have a few buttons in my view which work as a slideshow, every few seconds buttons change their appearance. On button click I open UIWebView and load a page, I need to change the target (url) of each button when they change their appearance.
What is the easiest way to do it? I can't change buttons' tags as my slideshow based on t...
I'm trying to do a CoreData DB reset by removing a store and copying a default version in its place. The following works fine in the simulator, but when it runs on a device (testing using iOS 3.1.3 and 3.2.1) the app acts as if the database was never reset until the app is restarted. After a restart the newly initialized database is used...
UPDATE: This is apparently "works as intended" classed by Apple. See accepted answer below for details.
Update: this question is about a behavior discovered in the iPad keyboard, where it refuses to be dismissed if shown in a modal dialog with a navigation controller.
Basically, if I present the navigation controller with the followi...
I am making the application that has needs to set the notification , thankfully i was able to set the local notification but i dont know how to delete the notification which is set by this application(my aplicaton ).The xcode does provide functionality of delete with removeAllNotifications but you cannot remove the selected notification...
The "Build" section of project info in XCode offers lots of compiler settings. I'm seeing good improvements in performance (up to about 20%) when I choose the LLVM GCC 4.2 compiler with the "FASTEST-O3" setting.
Are there other settings that also improve performance when compiling for the iPhone?
...
Hi Forum
I have a mutableArray that I fill up with objects. When I try to refill the array, I first use removeAllObjects - which produces a memory leak...
The properties of the object are synthesized, retained and released on dealloc.
The Array is initialized on viewDidLoad like this:
theArray = [[NSMutableArray alloc] initWithCapaci...
Hi guys, I'm new to iphone and objective-c development and want to ask if Clang Static Analyzer is enough for getting rid of memory leaks? I personally found the xcode "Leaks" tool rather difficult to use, besides I've seen some articles, where it reads that it will always show memory leaks, even if there are no any real leaks.
If I don...
I've got two XIB-generated UITextFields that I'm conditionally configuring in -viewWillAppear: as follows:
//Configure text fields
[emailField setDelegate:self];
[emailField setKeyboardType:UIKeyboardTypeEmailAddress];
[emailField setAutocapitalizationType:UITextAutocapitalizationTypeNone];
[emailField setAutocorrectionType:UITextAutoco...