Hi all,
Is any one have an idea to how to implement a password protected PDF file in iphone sdk. I mean to I need to create a password pdf file from my application.Please help me.
Any one's help will be much appreciated.
...
Hi guys.
How to convert from NSMutableArray to NSMutableData ?
Thanks in advance.
...
Hi I have to submit my first iPhone app. I have tested it on iPod touch and iPhone. While submitting, is it necessary to add the iPad logo. if yes how to do it. my application is a small utility application...and I have not programmed it keeping iPad GUI guidelines in mind for example it doesn't have the landscape layout.
how is it nor...
Hello,
I've a UIViewController and a UIImageView, on UIImageView i want to flip between 2 images, which i'm not able to achieve.
This is the code i've written, plz correct me if i'm wrong.
UIViewController* VC = [[UIViewController alloc]init];
VC.view.backgroundColor = [UIColor redColor];
UIImageView* imgView = [[UIImageView alloc]ini...
I'm trying to mask CALayer with a bitmap image.
And I failed masking CALayer. My code is:
// 'PreloadViewController layerWithImageNamed' create a layer and set it's contents as specified UIImage.
CALayer* title = [PreloadViewController layerWithImageNamed:@"pinkhug_txt.png"];
[[[self view] layer] addSublayer:title];
CALayer* title_ma...
Hi everyone!
I need in a iPhone app to access files that the app is build with(.plist etc). There's an hardcoded way to do this:
NSString *appDir = [[[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES)
objectAtIndex:0]
stringByDeletingLastPathComponent]
...
hi,
I have a UITableView which uses the following code to display an image in a Table View cell:
cell.imageView.layer.masksToBounds = YES;
cell.imageView.layer.cornerRadius = 5.0;
UIImage *image = [UIImage imageNamed:[[color types] stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]]];
if ( image ) {...
Hi everyone,
I have a UITableView with a sectionIndexTitles, and when I do a rotation, some cells are displayed like if I were on the previous orientation. When I don't have sectionIndexTitles, there is no problem. Is it just a bug in a library, or is there a secret tip I don't know to fix it ?
Tank you
...
I am using an sqlite3 database file in my iPhone App project to read from during runtime. First, for development purposes, I created the file on my desktop with Navicat for SQLite.
Reading this file using this code works:
NSString *strTest = [NSString stringWithString:@"select tbl_name from sqlite_master"];
const char *sql_test = [str...
Hi guys,
I would like to have the result from my recording as a float in the range [0.0, 1.0], alternatively [-1.0, 1.0] because of a bit of math I want to do on it.
When I set my recordingformat to be in float, like this:
mRecordFormat.mFormatFlags = kLinearPCMFormatFlagIsFloat;
I get:
Error: AudioQueueNewInput failed ('fmt?')
D...
Hi, I just familiarise myself with the CLLocationManager and found several sample class definitions that contain the following init method:
- (id) init {
self = [super init];
if (self != nil) {
self.locationManager = [[[CLLocationManager alloc] init] autorelease];
self.locationManager.delegate = self;
}
...
hai to all ,
I have added a scroll view of content size 320,1000 to my view
its working properly and loading with starting content of scroll view.
But,now I want it like showing some place of it when its getting load.
that is it shows directly some place of it instead of starting of the content ...
Help me it is urgent .. I have tried wi...
Hi all,
I want to devlop an application for iPhone which will convert the png image present in iPhone to an Ascii image.
Any guidance to devlop such an application ?
Is there any API/Library available for this ?
...
In one screen I have a custom toolbar with a "close" button in it, and a UIScrollView. In the screen that preceded this one I had pushed the current screen into the navigation stack. I had also disabled the navigation toolbar for a larger display area and so the close button would instead be used to call:
- (void)doClose {
[self.nav...
My encoded string from the server looks like this: "it-strategy%20RZ%20U%20texas".
How is it possible to decode this string back to "it-strategy RZ U texas"?
I have tried the method stringByReplacingPercentEscapesUsingEncoding: , but I have still the percentages.
...
Hi experts i have created a set of UItableviewcustom cell classes. Now can i group those classes to an static library so that i can include that library in whichever project i want and i can use it.
...
I want a custom class object to hold data and have somehow the feeling that creating about 80 properties is not the best way of doing it.
Most of the properties would be bool values, so i'm thinking about creating Arrays (keys / values) or (probably better) a NSDictionary attached to the object for holding the data. Does that make sense...
I am new to iphone development. I want to check for a condition whether the image is present in the image view? I have created a image view such as
UIImageView *subview = [[UIImageView alloc] initWithFrame:CGRectMake(10.0f, 6.0f,50.0f, 50.0f)];
How to check whether the image is present in the image view?Please help me out.Thanks.
...
Hi,
i want to auto post to a user wall from my iphone applications ( without that "publish" "skip" dialog box ). how i can do that ?
...
Hi guys,
I created a viewcontroller that displays a button which is used to slide a view onto the screen. The idea is to place for instance three such viewcontrollers onscreen, resulting in three buttons at the bottom of the screen providing navigation.
The viewcontrollers get stacked, so to the top one is now overlaying the other vie...