Hi all
I see some ios app have this function:
When user try to open a special-format attachment of email,it will show a alert and displays two buttons.One button of them showing "Open as".When user clicks it,then an app will be run and open the attachment.
I would like to know how to complete it.If anyone knows it,please let me know. T...
Does anybody know why a UIPopover or UIActionSheet presented from a UIBarButtonItem in a toolbar in the inputAccessoryView doesn't rotate along with all the other view controllers?
The steps to reproduce this are:
In an Xcode iPad project, add a UILabel editable text field in IB.
Also in IB, add a UIToolbar with a UIBarButtonItem.
In...
Hi,
In my iPad app, I need to run some layout code to set the proper layout depending on the orientation. By default, the layout is configured for the landscape orientation, so in the case that the app starts in portrait mode, I need to take extra action to configure the views properly for display in portrait.
In my -application:didFin...
Which resources did you find useful for learning iOS programming?
Books? website? videos?
...
If the device has a microphone, I would create audio device as "play and record". If the microphone is not available, only "play" audio device can work.
...
Hi,
Using iOS 4.0 I am trying to do a download an image in the background when the app is suspended. What i am doing is when i get the applicationDidEnterBackground delegate call, i initiate one asynchronous NSURLConnection and set the app delegate as the delegate for the connection. But none of the NSURLConnection delegates are getting...
Hello there,
i was having problems to make the MPMoviePlayerController controls disappear.
I tried to do it via:
...
MPMoviePlayerController *mplayer;
[mplayer setControlStyle:MPMovieControlStyleNone];
...
The problem is however that the controls appear for a brief second. I don't want to make my app look unprofessional so making th...
I'm exploring using Scala with its Comet facilities for my next project and was curious if anyone had experience using Comet (not necessarily Scala) with:
WebOS
Android
iOS
All these phones are WebKit, which should mean that my Firefox tests would work equally well, but I don't know how long-polling connections work over 3G (or wheth...
I'm having a server client database design which I'm unsure is Core Data suitable?
I have a server database which will maintain the master copy of the data and their relationship.
Each client application will have an empty client database with only relationship.
Upon the start up of the client, it will request for data from the server...
Will it? Or do you send two versions of the application to App Store?
...
I'm diving into iOS development am building a simple Diary app. I'd like to be able to export my data somehow to my other computers. What are some common, simple ways to export plain textual data?
Thanks in advance for all your help!
...
I'm diving into iOS development and I have a few questions about the iPhone Clock app.
When the user adds a new Alarm, what's the best way to store it? Using a simple plist? Using Core Data?
If you look at the Alarm tab in the Clock app, you'll notice it only shows one table cell for each Alarm that exists. How can I achieve this...
Hi,
I need to run a method everytime the user switch the screen or return to the application (after a call, or pressing the "Home Button" and returning to the app, for example).
Is there any way to recognize this, like an event or method that is always executed when this happens?
Thank you guys in advance.
...
Hello. I'm diving into iOS development and am getting familiar with navigation view controllers. I'm trying to build a simple app with a table view that allows me to add objects to it. So far, I have a table view with an add "+" button in the nav bar that allows me to load my CreateObjectView and display it modally so the user can def...
My view doesn't stretch to fit the current orientation!
I am creating a tab bar application. I replicated the sample one that you create when you "create a new tab bar application". Everything works except when I change the orientation of the iPad it rotates the view, the tab bar stretches out on the bottom, but the view doesn't resize....
Hello, I wrote a code that utilizes the MFMAilComposibleViewController to harness in-app emails. I specified the delegate as so under, but my delegate method isn't getting called. This is the first time I'm getting this type of error; I normally develop under the iPhone but for a client I need to develop under an iPad.
MFMailComposeView...
Hello. I'm diving into iOS development and am building my own alarm app to become familiar with the SDK. My questions are...
I've played around with UITableViews a bit, but I don't understand how I would implement the table at the top half of this form. If I had to guess, I would say it's a single UITableView, defined with one sec...
A good example of the behavior I'm trying to illustrate is when you click on the "Edit" button in the iOS Clock app, the on/off switch transforms into a chevron.
I have a UITableView that contains a cell with a switch control on it. When the user click the "Edit" button in the nav bar, I'd like the switch to go away and get replaced ...
I'm just starting out with iOS programming. I'm wondering why view is an outlet on UIViewController. When I look at UIViewController.h, the keyword IBOutlet isn't present. I thought all outlets available in Interface Builder had to be declared as IBOutlet. Am I missing something here?
...
I can't seem to find a clear answer to this-- I'm spec'ing out an iPhone app that I'd like to have live in the background and notify the user at certain periods throughout the day. So the user would launch the app in the morning and then continue to use their phone, then every few hours the app would pop open a notification dialog.
Will...