I have a simple application with a "big" text in a "little" UITextView included in an UIImageView.
I can't scroll into my text, and i don't understand why ?
If there isn't UIImageView, scrolling works.
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
UIImage *backImg ...
I try to learn the drawing process in UIView in iphone.
as I understand the drawing process accurs only if the method [UIView drawRect] exists.
it starts with [CALayer display] and from within that method [UIView drawRect] is called (to be precise :first [UIView drawLayer:layer inContext:context] is called and from within this method ...
Hi,
In an iPhone application, I have some plain C functions. Is it possible to access UI elements (declared on viewcontroller) in these functions?
Thanks.
...
hi all,
i am able to get the phone no of any contact from following code
NSLog(@"%@",ABMultiValueCopyValueAtIndex(ABRecordCopyValue(ref,kABPersonPhoneProperty) ,0));
NSLog(@"%@",ABMultiValueCopyValueAtIndex(ABRecordCopyValue(ref,kABPersonPhoneProperty) ,1));
NSLog(@"%@",ABMultiValueCopyValueAtIndex(ABRecordCopyValue(ref,...
I haven't think of this yet now .
Till now whenever device was asking me use location update I was allowing it .
But when now I am not allowing then it the location manager gives me kclErrorDenied and the location manager can not start again until I restart the application .
So my question is that should I give a message to restart ...
Hi I am having issues with the following and it crashes the iPhone simulator, while the script has no errors it did bring up one warning in this script.
[c setImage:[attributeDict objectForKey:@"img"]];
The warning is
City may not respond to -setImage:
I am not sure what I have done wrong here is the fill source code.
#import...
I have jailbroken iPhone. I want to test my applications on my real iPhone whithout paying $90 . How can I do this?
...
http://developer.apple.com/iphone/news/archives/2010/february/#corelocation
Can anyone tell me what is the exact description of an ad and just a hint for a user?
We are developing a library that shows small banners depending on user's location. E.g. we are passing a cafe - we have a banner about this cafe, we are passing a church - we ...
Hi,
Can anyone help me with the small buttons/icons used within the iphone apps. I am fairly new to the app world and trying to make some buttons(viz the tick box) for my app. I am not sure if we should start with a 50X50 and autoresize in the app or just have a 20X20 which exactly fits the space...
Any help on this is appreciated..
...
Tried this but only works for UIButton:
[btn setTarget:self action:@selector(btnClicked:) forControlEvents:UIControlEventTouchUpInside];
...
I have managed to use a dirty hack for now to fade my navigation controller view into the main window after a delayed period on which is my splash screen image, but it feels so dirty I would prefer to have a non-navigationcontroller view appear before the rest of my navigation controller app
...
Hi every body,
Can anyone suggest me how to post attachments to twitter using twitter API,
I tried this it is working but ,our attachments has not been posted like images and links ..
my code is like this
TwitterRequest *t=[[TwitterRequest alloc] init];
t.username=self.username.text;
t.password=self.password.text;
[t statuses...
I need to import a CSV file in to my app. How can i do that. Is that possible in iPhone?
Thanks,
...
Hello,
I've discovered today the app "Qype" and now I'd like to know how I can build a function to locate myself like in quype.
For those who dont know this app: It's an app that shows you Cafés, Bars, Restaurants etc. near you. When I'm starting Qype there's a question: "Qype want to locate your position. Do you want to allow it?"
Ar...
I have to sort objects based on NSDates. What are the options for sorting by NSDate?
...
Hello everyone
I have some codes read the query results from sqlite:
while (sqlite3_step(statement) == SQLITE_ROW) {
char *rowData = (char *)sqlite3_column_text(statement,0);
NSString *fieldValue = [[NSString alloc] initWithUTF8String : rowData ];
char *rowData1 = (char *)sqlite3_column_text(statement,1);
...
Hi,
when pressing a row delete button on a table view, I do some validation, and if the user chooses to cancel the operation it all should rollback. Not only want to keep that row (what is happening), but also make disappear the delete button leaving only the "-" round button. How can I do that?
once again, thank you.
...
Hi
Is it possible to make a UIView (and any other subviews within it) set to an opacity of say 0.5 or whatever? Not sure if this is even possible, but want to ask.
...
When i use this line
[UIFont fontWithName:@"Arial" size:16] its work fine,but
[UIFont fontWithName:@"Arial Black" size:16] it crashes my app.....
In xib design there is the font name of Arial Black is available.But when i set using [UIFont fontWithName:@"Arial Black" size:16] this it crashes my app.. How can i set this font na...
Hi
I have two strings:
a variable length piece of text
another string with numbers that
point to a reference
In my view, the first piece of text is displayed in a UILabel, I adjust the size of the label to accomodate the size of the text. This means I cannot just place another UILabel on the screen, at least not without repositioni...