Hi folks,
how can I set up a Universal project which has support for iAd (just in the iPhone app)?
Using the iPhone SDK 4, let's suppose I do the following steps:
Open XCode;
Go to File > New Project ;
Select Window-based application (or whatever), choose Product: Universal (and after choose a name for the project).
It will create a...
I'm trying to create a custom UIMenuController and display it in my view. Here's my code:
UIMenuController *menuController = [UIMenuController sharedMenuController];
UIMenuItem *listMenuItem = [[UIMenuItem alloc] initWithTitle:@"List" action:@selector(addList:)];
[menuController setMenuItems:[NSArray arrayWithObject:listMenuIte...
Hello - How would I go about adding a progress bar for downloading a large image, or any file for that matter? here is my code:
NSArray* paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,
NSUserDomainMask, YES);
NSString *docsPath = [paths objectAtIndex:...
Django @login_required views for JSON data API's used from iPad/iPhone/Android?
In my Django webserver, I have built JSON data API's that I want to access from mobile devices: iPad/iPhone/Android. I'm using the iPad/iPhone ASIHttp Library. How do I login users from an iPad/iPhone so my data API's can use the @login_required decorator?...
I have an iPad Split View Application that brings up a modal view to display certain content. When I bring up the modal (in PageSheet style) and then change from Portrait to Landscape (or vice-versa) and then dismiss the modal the orientation of the detailViewController (the parent of the modal) turns 90 degrees.
So if I am in landscape...
I've been playing around with Apple's aurioTouch demo which is sample code for their Audio Unit tutorial. This application allows simultaneous input/output from the mic. to speaker. It also renders a stereograph of the inputted sound from the mic.
At a really high-level of this low-level process, the sample code defines an AudioCompone...
There is an iPad app called Air Display which turns your iPad into a wireless second monitor for your computer. I haven't personally tried it so I can't vouch for its effectiveness, and I assume it has a significant amount of lag, but I think it would be very useful to toss something for reference onto the iPad screen and then work on yo...
I have a UITableView with 2 sections in it. I have enabled rearranging in my table view, but I have a strange problem.
I do not want the user to be able to rearrange rows between sections (I only want users to be able to rearrange rows within their section). If I try to drag a row from the first section to the second section, it will no...
In the Safari bookmarks manager on iPhone, the UITableView seems to have behaviour that isn't standard. I'm referring to this:
In edit mode, the bookmark UITableViewCells have both a rearrange control and a UITableViewCellAccessoryDisclosureIndicator accessory view next to them. How do you get both? In my table views, when you go into...
Application Specific Information:
com.oneorangetree.iphoneexample failed to launch in time
elapsed total CPU time (seconds): 3.500 (user 1.680, system 1.820), 17% CPU
elapsed application CPU time (seconds): 0.920, 5% CPU
When the app loads, it does ALOT of stuff in viewDidLoad
It takes about 30 seconds to complete. How can I put thi...
Any idea if there is a simple way to lengthen the distance a swipe has to travel before being recognized. Seems the the default is really short. It's more than a tap, but just barely. Do I need to create a custom gesture recognizer to override this distance?
Thanks.
...
When a view must listen the changes on the model and updates view, in other languages we must create and implement observer methods. The view registers itself on that observer methods and wait for the notifications.
This can be do in Obj-C with protocols and registering objects. When some value changes we iterate over our observers list...
Can we set splitsview with tabbar?
In detailview i want the tabbarcontroller. is it possible?
...
Hi,
I have UINavigationController and I`ve placed UIListView in it. Now I want to add multiple BarButtons to left side of navigation bar. How is that possible? I managed to add one button there via code but not multiple.
Edit: Buttons added via IB to NavigationBar of UINavigationController aren`t visible at all. What could cause the pr...
I'm hoping that this question isn't a stupid one but how does one go about positioning a UIPopoverController view over a UIWebView so that the popup view arrow points at the UIWebView link that was clicked to show it?
I'm using the delegate method;
-(BOOL) webView:(UIWebView *)inWeb shouldStartLoadWithRequest:(NSURLRequest *)inRequest ...
Hi
I discovered a strange behavoir of the MPMoviePlayerController on the iPad. I created an application for the iPad where you can choose different media (audio/video) from a list. The chosen media ist played on a detail view. There's no problem with playing audio and I can play every video at least once. The problem occures only when I...
If one were to create a standard grouped table view consisting of two rows and then touch down on the first row, the cell would highlight. If one were to then drag one's finger down, the selection of the row cancels, and the table view begins to move with the drag.
Imagine the same situation, but with table view scrolling disabled via t...
As you can see, both the text (left) and the detail text (right) have been truncated. How can I ensure only the detail text on the right is truncated, while the text on the left remains in full?
Thanks friends.
...
After you click a link on the iphone or ipad, it leaves a simulated mouse hover that triggers the a:hover css styling on that link. If the link has a javascript handler that keeps you on same page, the hover state will not change until you click on another link.
This gets weird if you have an ajax widget that asks questions and each ans...
What are the things that an android developer does to achieve it. So I need to know the basic functionality difference of IPad and other E-readers. I heard about Nook which runs an Android operating system. How do I test my app on that nook, i.e. is there any emulator configuration to test the application of nook? (Because I don't have ...