Hi,
Is it possible to push the entire view upwards when the keyboard is activated? Like, a TextField is located at the bottom of the view. When user taps on TextField, a keyboard will cover the TextField.
So Im asking, is there a code that will push the view upwards so that the keyboard will display underneath the TextField. I have co...
hi,
I want to use my own delegate methods. i follow the tutorial .but is it must to use the class in which i have declared delegate method(protocol definition) for calling that delegate method?cant i call without creating the object for the class in which i have protocol definition? what is the use of the method "delegate respondsT...
I am trying to make a stop watch with NSTimer.
I gave the following code:
nst_Timer = [NSTimer scheduledTimerWithTimeInterval:0.001 target:self selector:@selector(showTime) userInfo:nil repeats:NO];
and it is not working in milliseconds. It takes more than 1 millisecond.
...
how to parse XML which contains data in Norwegian language ?
Does i need any type of encoding with NSParser ?
Thanks.
...
Hi, everyone,
I want to ask a objective C question. I have a string retrieve from UITextField and I want to check the string contains the '@' or not. However, when I use the following code, it has some errors, can anyone help me? Thank you.
if([inputTextField.text rangeOfString:@"%"].location != NSNotFound)
NSLog(@"It does not cont...
I'm using a MPMoviePlayerController in my iPhone app to display some short video clips sometimes. I deaclared a Category which ads a couple methods to the class to properly attach its view to a particular view and to remove it from there.
I use the notification system to let a class know when the movie has finished playing, then I try to...
Hello all,
I have ported an iPhone application from iPhone 3.0 to support now in iOS 4.0. In this application, it does playing an audio file streaming. With the iPhone 3.0 app version, when playing streaming audio if i quit my app by pressing Home button, it will stop the audio too. This is expected.
In this latest my app version with i...
Hi All, Im just wondering if there is any method of catching any user interaction with the application.
The reason i ask is that when a user interacts with the app i update a date in the db. if they date is older than 10 minutes they are seen as offline by other users until they comeback and interact with the program.
Does anybody hav...
I have tried to develope twitter profile image changing function with twitter API on iPhone.
But There are not libraries about this. I found jaanus / PlainOAuth and another libraries...
but I couldn't found. Anybody tell me how can I find or get information about this?
...
Hi all,
I'm having some class which is a subclass of UITableViewController.
on one of the TableView's cell I'm adding a view that holds a UIButton as subview
(i.e. [someParentView addsubview:button])
I'm adding the view to cell like this:
[cell.contentView addSubview:someParentView]
I've set the UserInteractionEnabled both for the butt...
hi,
I'm trying to create a chipmunk space with a bouncing ball.(Example seen here)
Currently my device is running in Landscape mode. So according to cocos2D everything is all right. When adding Sprites they orient to landscape mode.
[director setDeviceOrientation:kCCDeviceOrientationLandscapeLeft];
The only problem is that the ...
Hi,
I am wondering how I can send data between a machine and a mobile device. I know about the game kit an have read a bit about bonjour (but don't know to much about it), but would like to know some expert thoughts on what the best way is.
What I basically want to build is a one way traffic application that sends data from OSX to the ...
I need to write a web service on a .NET platform for an IPhone client.
I'm using JSON.
My question is - how will the client recognize my objects without using .NET??
Will I be able to receive objects, or all I can receive are strings which I need to deserialize?
What happens when one of my method's parameters is an "out" parameter??
...
Skype app for iPhone uses animated TabBar icons. For example, during the logging-in the rightmost tab icon shows circulating arrows. While calling the "Call" tab icon softly blinks which is obviously done through animation.
I wonder how is it possible to animate tab bar items' icons.
In my particular case when the user presses the 'F...
HI I'm trying to get a UITextField to look like the google search field available in the safari app on iPad. The purpose of the field will be the same (a search box).
I know i could use a UISearchBar but I would have to use hackish code to get rid of the magnifying glass icon and the background and I don't want that.
I'm attaching an i...
Hi guys
Everything is in the title, I doesn't understand what the statement below does:
#import "x.h"
#import "y.h"
#import "MyAppAppDelegate.h"
#import "z.h"
@implementation x
@class myClass;
Could someone explain me using simple words please? I'm quite new to iphone programming :s
...
Hi,
I'm beginner with iPhone and want to know how to add a view in a window based application.
I crate the application, then I added the ViewControler+XIB to my project.
I include the .h file in both AppDelegate-Files.
Then I create a object of the View "StartViewController" with
StartViewController *startView;
and add the propert...
CFHTTPMessageSetHeaderFieldValue is silently failing for me on certain parameters without warning or error. The header's value is simply not set.
Header Key:
Authorization
Header Value:
GoogleLogin auth=DQAAAJAAAAAIuG7Ki5ZtvxH9NyZU3NRK5IexJOASkWOnMaH2f42WerL0omocuQycif3ub8AorRnDERJV9An2_Js4hqigOyLzkrV5r6ZSnWn8FbXZQNn37HZjmS0rDGzS1A...
Hi guys,
What are faulted entities and what the difference between them and 'usual' entities? where can I read about that?
Thanks
...
i have created a little slide show in jQuery. On clicking-n-dragging your mouse it shows next/previous slide. I have added special code for dealing with iphone. But on iphone (safari)
when i move my finger over the object the whole page is dragged left-right.
here is the code
var oldX = 0;
$('#movieShow').bind('touchstar...