how to take a screenshot of the iPhone programmatically?
Is it possible in objective C that we can take the screen shot in objective c and stored this image in UIImage. ...
Is it possible in objective C that we can take the screen shot in objective c and stored this image in UIImage. ...
Hi, I am unable to adjust volume of sounds in my app when testing on new iPhone 4 (tried two devices) it works on an iPad and my colleague just told me that on 3Gs with iOS 4 the volume goes down when trying to increase ... that's something doesn't make sense at all. I am using AudioToolbox/AudioServices.h to just play short sounds in ...
Hi All, I have choosen Iphone as my profession and I am working on it for making my career on this particular field.Since from last few weeks I am searching on for good books on Iphone sdk and on obj-c with topics included like: Total UI Controls , UI Delegates And all Foundation Framework classes like NSString, NSArray etc, About Memo...
Hi, I have a text label with the text set as Contact Us.. When user taps on this label it should launch safari to open the web page.My doubt is how to make Contact Us as hyperlink.Now I can't modify my code to include a UIWebView..Please help me guys..I am in final stages of my project..If possible please help me with sample code..thanks...
For a specialized calculator I would like to allow copy / paste for a textfield which is meant for numerical values only. So, only numerical characters should be actually pasted or the pasted string should be rejected if it contains non-numerical characters. I was thinking about using UITextFieldDelegates textField:shouldChangeCharacter...
Hi, I am wanting to apply a custom alpha value to the title of the UINavigationBar. The UINavigationBar is part of the UINavigationController and the UINavigationController is part of a UITabBarController. Edit: Here is a picture of what I created using a UIToolbar and a UILabel. I want to do the same using the title in the UINavigatio...
i need to develop table view for entering text data and boolean values, so i need to implement checkbox functionality for some tableview cells, i know how to implement regular tabledatasource interface for supply the data^ what about different types of cells? Thanks, alot. ...
So basically I want to create a Dynamic Library in OS X that is built utilizing Cocoa (In Obj-C, not C or C++). My question is - how do I do this? Ultimately I want the library to be loaded by another application (which I know how to do). I just don't know how to create a module utilizing Objective-C. Thanks! ...
Hi all, I have a parentview with a ui view on it. This loads a subviewcontroller on viewdidload. The subviewcontroller has a button on it that is linked up on touch up inside to a subviewcontroller method called clicked. This causes a bad access error to fire and crashes the app. My question is, is this setup possible or do I have to h...
Hi, I have a UITableViewCell with two subviews, a UILabel on the left, and a random input control on the right. The random input control on the right can vary in size, as can the length of the text, but since I can set the word wrap of the text on the left, I need to be able to adjust the size of the UILabel based on the width of the ra...
I am wanting to set the alpha of the titleView in my UINavigationController. Here is the code for this class: #import "FAQNavigationController.h" @implementation FAQNavigationController /* // The designated initializer. Override if you create the controller programmatically and want to perform customization that is not appropriate ...
Hey All, Please help..I am unable to figure out this wierd problem. My app has iAds and multitasking support. The app can be deployed onto the iphone and its running pretty fine but when I tried to deploy my app on iphone 3g(with iOS 3.1.2) it throws the following error on the console. I tried commenting out the code for iAds but not sur...
The iphone app I am creating has an array of commonly used settings. These settings will likely be changed frequently by the user and are pretty small, so I am using archiving to store a small array of objects. My top level view is a series of buttons (for UI design reasons) and not a tableview. These settings are used within one subview...
Hi, I'm wondering if it is possible to start my app with all my tabs in the "up" state and show a "landing" view to the user. Kind of like a welcome/quick start. When they select one of the tabs, it switches views as normal. Will you point me in the right direction? Kind of like this: ...
Hello, I am using the method [string sizeWithFont:constrainedToSize:lineBreakMode:] to estimate the height of a textView that I am resizing. However, it seems to consistently return the incorrect size. To debug, I wrote the following code: self.textView.font = [UIFont systemFontOfSize:14.0]; // It was this before, anyways NSLog(@"Real ...
I've just downloaded the Facebook iOS SDK and I noticed that in the sample code that comes with the SDK whenever it creates an instance of the Facebook class it does it like this: _facebook = [[[[Facebook alloc] init] autorelease] retain]; where _facebook is a member variable of the calling object (i.e. not a local variable). Can any...
I have a Nav controller that starts at a table view. Each row pushes to a detail UIView. I would like to have a "next" button on the Detail UIView that would pop the current view and open the one corresponding to the next row on the parent UITableView using the the same view controller without returning to the TableView. Ideally, it w...
Hi all, how can we display the content of MS Office 2007/2010 files (specially .docx) in iOS 3.2 (ipad) ? thanks in advance. ...
Hi, I want to make a C char array from NSString object in Obj-C. My string is: NSString *string = [[NSString alloc] initWithContentsOfURL:url usedEncoding:nil error:nil]; Can someone send me a sample of a working code? Thanks in advance, Sagiftw ...
Hi, I've recently started learning programming to make my own 3D OpenGL game on the iPhone and have made reasonably decent progress so far. I started off using the basic OpenGL example that is provided with the iPhone SDK which helped me get off to a good start. However, as I'm starting to get the hang of things, it has occurred to me t...