[sessionController.currentSession addObserver:self
forKeyPath:@"sessionState"
options:(NSKeyValueChangeSetting)
context:NULL];
This doesn't seem to be working.
The class where this code goes knows about the sessionController and has access to th...
Hi
I am porting my Android app to the iPhone. It uses an integrated dictionary and thesaurus. While for the Android app, I use DictionaryForMIDs (with some modifications of my own), I could not find any such products for the iPhone.
Anyone aware of any such products?
If there are none, are there any APIs which I can access from the iP...
Hi.
I created a tableViewCell the include an image, two text labels and a uibutton.
The button is allocated to an action method (e.g. viewButtonPused:sender).
I'm used to handle row selection with tableView:didSelectRowAtIndexPath: so I could tell which row was selected. But with the uibutton and its action method .... How can I tell?
...
I'm using a CAKeyframeAnimation to animate a view along a CGPath. When the animation is done, I'd like to be able to call some other method to perform another action. Is there a good way to do this?
I've looked at using UIView's setAnimationDidStopSelector:, however from the docs this looks like it only applies when used within a UIView...
In my Xcode project's plist file, I can see the value for the key CFBundleIdentifier is:
com.mycompany.${PRODUCT_NAME:rfc1034identifier}
Obviously I will have to change com.mycompany to the domain name of my company, but I have no idea whether the rfc1034identifier should be removed so that it becomes:
com.mycompany.${PRODUCT_NAME}
G...
When keyboard become visible for UITextField the orientation was landScapeLeft but if we change the orientation to landScapeRight then keyboard is coming from upside.
How to rotate the keyboard also when the orientation changes.
...
Let's say I have a solution involving an iPhone app that generates some information and then sends that information to a web service for processing. It is important that ONLY requests from instances of this particular iPhone app are allowed to be processed (there may be many instances of the app used by many different users, but I want ...
let's say i am trying to save an image selected from photo library to database..is the following code correct?
Snap.m
- (void) addSnap {
if(addStmt == nil) {
const char *sql = "insert into Snap(snapTitle, snapDesc, snapImage) Values(?, ?, ?)";
if(sqlite3_prepare_v2(database, sql, -1, &addStmt, NULL) != SQLITE_OK)
NSAssert1(0,...
I am writing program on iPhone, that records voice and transmit to the server in real-time. For recording voice I use AudioQueue and inside of
void AudioInputCallback(void
*inUserData, AudioQueueRef inAQ, AudioQueueBufferRef inBuffer,
const AudioTimeStamp *inStartTime,
UInt32 inNumberPacketDescriptions,
...
My following code is giving the error:
UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
CGImageRef inImage = viewImage.CGImage;
CGContextRef cgctx = [self createARGBBitmapContextFromImage:inImage];
if (cgctx == NULL) { return nil; /* error */ }
size_t w = CGImageGetWidth(inImage);
size...
My boss wants me to develop some apps and make them appear on the AppStore.
This is a very small company, he paid the iPhone developer program fee and I am responsible for the rest, I have full access to the account.
I've finished the development on my mac using the simulator. But now I have to test the app on an actual iPhone before it...
Dear All,
I tried to find an easy solution for the following.
I have a main view which holds a tile. I want to drag and drop it over a UITableView. I could program the pick and drag already with UIGestureRecognizer.
Now my problem is how can I detect within the table view that there is an item going to be dragged above it. For instance...
Hello there,
I am having a problem with UIWebView. I'd like to render my own html code in it. When I add a webview as a subview and put in some html code it renders just fine. When it gets down to some optimized drawing of tableview cell with the drawRect method the problem pops up. Drawing UIView descendants works pretty well this way. ...
I am adding a UITextView to a UIView programatically. The UITextView should have a clear background from the get go, but the background is animating from white to clear. How do I prevent this animation? Here is my code:
UITextView *localTextView = [[UITextView alloc] initWithFrame:CGRectMake(0, 0, 230, 60)];
localTextView.opaque = NO;
...
post same question at apple developer forum ,too
hi
first sorry that my english is poor..
i want develop iphone application that playing musical instrument like 'ocarina'
but don't need blow mic features.
so first i tried to find that how implementation 'virtual musical instrument ' in iphone development.
the during the decide imple...
Hi, I'm working on a project and need to create a screen similar to the iPhone home screen:
A scrollview with multiple pages
A bunch of icons
When not in edit mode, swipe through different pages (even I started the touch on an icon)
When not in edit mode, tap an icon to do something
When in edit mode, drag the icon to swap places, and ...
My Secondview is BController *bview.
now in this view there is 1 back button
on click of that back button
-(IBAction)done:(id)sender
{
AController *aview= [[AController alloc] initWithNibName:@"AController" bundle:[NSBundle mainBundle]];
NSArray *array = [self.navigationController popToViewController: aview animated:YES];
}
AContro...
hi all,
i want to used the particular fonts for my application. but i don't how can use that font that are in the iphone sdk library.
Any idea how can i do this.
By the way i want to use hindi and punjabi fonts in it.
thanks
Deepika
...
Hi,
I am new to iphone development. I want to set an activity indicator which is loaded on my custom button. please guide me.(Example: App store --> Search-->Show 25 more(on click)).
Thanks.
...
I want to make a uiview that can be aware of highlight status, like a UILabel is when put inside a UICellTableView.
...