iphone

How to add a login view before a UISplitViewController iPad

I would like to show a login view before a UISplitViewController in my app. I am not sure how to do that as Apple docs regarding iPad says that UISplitViewController should be a root view controller of the app. ...

Can LocalNotifications be disabled by the user.

Hi, I want to use UILocalNotifications as a background timer for an app. Can this notifications be disabled by the user like remote notifications? If the user disables remote notifications for the app, are the local notifications disabled to? ...

Are there any handwriting recognition libraries available for the iPhone?

I am looking for a simple (preferably open source) handwriting recognition library for the iPhone/iPad. In my case, I'm only interested in recognizing numbers. Does anyone know of a good library for this? ...

How to Show Second View Before Loading data from server and Run Indicator While Loading?

Hi All, I made a player xib and go from the playlist xib to that one. The thing is that the player view has a bunch of data to capture and load. When you click the button on playlist to go to the player view, the player view WILL NOT be displayed until all the data is captured. I want it to go to the player view immediately and then sh...

Change actions sheet's button size?

Hi all, can we change button size of actionsheet, say i hv 4 buttons in actionsheet, than it will cover more than half screen with sheet, is there any other way to giv more than 3 buttons without capturing most of the screen? regards ...

Does UITableView support grouped style with rectangular (not rounded) sections?

I would like to present a UITableView with a basic layout like this: header view table row table row table row header view table row table row Grouped style with section header views is the natural way to do this, but I don't want the "shunken (padding on the left and the right), rounded corner" look that...

setting image to button -> take up lots of memory ? what should i do then

Hi guys, basically im running my apps with instruments and found out that by just setting a background image to the UIButton, it takes up 6mb of data(which i do not want in case low-memory warnings). i read around and found out that since the button has been assigned the image, it retains it(and the memory). How should i code it then?M...

Using substringFromIndex on NSMutableString

Hey all Why is substringFromIndex not working for my NSMutableString? Here code similar to what I have: NSMutableString *myString = [[NSMutableString alloc] initWithString:@"This is my String"]; [myString substringFromIndex:5 NSLog(@"myString = %@", myString); //will output This is my String If I use substringFromIndex on NSString...

How to remove old versions of iPhone SDK when installing the new one?

Hello, I have downloaded iPhone SDK 4.0.2, I wanted to install it, but it looks that I don't have enough space. This made me think that maybe I could unistall the previous versions of iPhone SDK and install only the newest one. Does anyone know how to do this? Should I keep the old versions? Is there any situation they could be useful?...

NSURL doesn't seem to want to accept my querystring...

Hi there I have this code NSLog(@"%@",URLRequestQueryString); NSString *sendToServerString = [NSString stringWithFormat:@"http://mydomain.co.uk/req.php%@",URLRequestQueryString]; NSURL *sendToServer = [[NSURL alloc] initWithString:sendToServerString]; NSLog(@"%@",sendToServer); NSLog(@"%@",sendToServerString); URLRequestQueryString is...

How to implement the preview of a custorm file type in iOS's email attachment?

From iOS 3.2, application can be called to open specify files, lick .zip . we try to implement an application can open the zip attachment file in iOS, it works. But from iOS 4.0, apple provide a new file preview framework call Quick Look Framework. The default email application will open the preview of the file default. But the quick loo...

Does sql query degrade the performance in iphone App? Join is a good or bad for the iphone app performance.

Does sql query degrade the performance in iphone App? Join is a good or bad for the iphone app performance. ...

cnnmobile.com viewport width 320px, even though there is no meta viewport tag

iPhone seems to render cnnmobile.com with a viewport width of 320px, even though the site doesn't have a meta viewport tag. I would expect it to be rendered using the default width of 980px. How come? ...

problem at rotating landscape mode

hi i am new to iphone. what i did is displaying 10 images as grid and 3 images in portroide mode, and what i did is when ever i rotate the simulator to landscape then i have to display 4 images.It is also displayed using the code if(self.interfaceorientation == UIIntefaceorientationPortrait) { [self abc]; else { [self abclandscape]; } ...

Convert utf-8 std::string to std::wstring on iPhone

Hi, I have a UTF-8 string (created an std::string from a byte array) I understand that the encoding means that the size()/length() won't give me the actual number of glyphs if the text is chinese for instance... I understand that in order to get the unicode character code of each glyph I need to convert it to wstring (or any UTF>8 repres...

Read email and Phone number From Facebook Profile...

I Try to read email address, phone number from face book profile details to my IPhone Application. But, from my Face book profile, i got name details, location details like that. But I can't get email and phone numbers. In my Program, First I get authentication using Oauth. I get all authentication. using following code. [fbGraph auth...

How to remove Search control from google maps in iphone

I have created a sample application to load google maps application in my ipod device.So i created a UIWebView and Load html string as formated here, Cupertino I found this sample from following link http://developer.apple.com/iphone/library/featuredarticles/iPhoneURLScheme%5FReference/Articles/MapLinks.html Its work fine and loads ...

Would Payment on iPhone for Real World Goods get my app Banned?

I'd like to use the iPhone SDK Store Kit but you are not allowed to use it for purchasing real world goods and services or for transferring money, my customer's applications require these. So I'm looking into adding views to my application to gather credit card details then use https posts in a background thread to communicate with a pa...

"." syntax error comes while i am doing inner join.

const char *sqlStatement = "select s.id, s.no, s.sc p.na from table1 s inner join table2 p on p.id = s.id"; It gives an error that near ".": syntax error ...

UIView setAnimationTransition is not working?

i have added one view in UIwindow as [window addSubview:parVC.view]; i toggle the parVC.view through the following , but it is not working/// - (IBAction)flipToback:(id)sender { [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:1.0]; [UIView setAnimationTransition:UIViewAnimationTransitionF...