I'm wondering if it's possible to lock the aspect ratio using a meta tag, or by any means at all?
I'm making a web app where the target platform is the iPad, but it only really makes sense if it is always in landscape orientation, and i was hoping to ensure it was always presented that way regardless of the device orientation.
...
Hi there,
I'm in the process of adding Google Analytics to my iPhone app, but I'm not at all experienced with Analytics. One thing I would like it to tell me is how many unique people are using the app.
Suppose one user were to use her iPhone app on ten different wireless networks, would Google Analytics iOS SDK interpret this as ten d...
Hi friends...
I have a button in my RootViewController ....
when i click on this button it will navigate to some otherViewController.
but i want that when i click on the Button otherViewController's Orientation should be Landscape
& when i back from this page(otherViewController) i should got again Portrait mode.
lots of Thanks for any ...
If you have some UITextField into a UIScrollView, each time an UITextField becomes the first responder, UIScrollView automatically scrolls to show the field if it is under the keyboard.
Why can't do this when the responder is another responder that can be first responders instead of an UITextField? Have I to subclass each UIResponder th...
I've been trying to work a UIActionSheet into my App. The idea is, if you exited the app in a certain state, it would popup on launch and ask you if you'd like to continue or reset. Here's the code:
NSUserDefaults *prefs = [NSUserDefaults standardUserDefaults];
continueYesNo = [prefs boolForKey:@"keyContinueMeeting"];
if (continueYes...
I'm working on a mobile web-app using sencha touch, HTML5 and phonegap as a wrapper.
I'm using PHP-Authentication (Cookie) and ajax-requests. Everything works fine on safari or chrome, but after the deployment with phonegap (webview) it does't work anymore...
Any help would be appreciated :)
Some more details:
All data for my app is...
Ever since upgrading to the 4.1 SDK my Entitlements are no longer valid when users try to install the Ad-Hoc builds. We originally had this issue a long time ago and and solved it by adding to the project an Entitlements.plist file with a get-task-allow = false key.
I don't think I've changed anything in the project configuration excep...
Hi there,
I would like to write an iOS application that uses the native support to viewing multiple file types (e.g. HTML, PDF, Pages, Word) in a high level control such as UIWebView or Quicklook. Nothing too hard here.
However I would then like to support selection of text, adding custom Context Menus to a selection and, at a minimum,...
There are a lot of nice little functions in System.IO.Path like replacing a file extension, append to a path, getting a filename, getting a directory from a path in C#. Is there an iOS equivalent or somewhat close API?
thanks!
...
I am working on a Google Maps-like scrolling/panning system. The system is supposed to be a lot simpler than the "original" (no zooming) and as such is built in a quite straight forward fashion:
There is a containing div representing the viewport with overflow set to hidden and a fixed size
This div contains another div that's being pa...
I'm making an RSS parser for iPhone and iPod Touch and I need to be able to set the number of lines shown in each cell for each article. I'd like to break every 39 characters, which is the most that fits on a line at the font size that I'm using.
I'd like to take the number of characters in a string and divide it by the number of charac...
I have an iOS 3.2 program running on the iPad that is document-centric. Sometimes, when closing a document, there is a memory spike in Instruments. I'm pretty sure I'm not leaking memory, since the allocations graph stays pretty steady between 5mb and 10mb, except when closing, where it spikes up by about 5mb or so (and the leaks tool is...
I generally do the following, but I'm hoping for a library that handles this sort of editing. I couldn't find much using Google.
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
// [..snip..]
if (indexPath.row == 0) {
textViewOne = [cell addSubview:[UIText...
Hey all,
I mostly use jQuery, but am working on a site that is built on mootools.
I'm using "makeDraggable", which works fine on browsers, but falls apart on iPhone / iPad. It's being added like so:
dragIcon.addEvent('mousedown', dragTheIcon);
I added the "touchstart" and "touchmove" event listeners but they don't seem to work, and ...
Here's how my cells are set up:
- (UITableViewCell *)tableView:(UITableView *)tableViewIn cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSString *CellIdentifier = @"subcategory";
UITableViewCell *cell = [tableViewIn dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
cell = [[[UITableViewC...
I have an app with a login page that has three fields for three different random characters. When the user leaves the last field, the soft keyboard disappears and the user can touch a "login" button on screen.
When there is a hardware keyboard (bluetooth or physical) attached, I'd like to be able to hit "enter" on it. However because th...
Hi,
I'd like to know how fast iOS delivers touch events (touch phase move) to an application?
Are we looking at 10 updates a second, 25 updates a second?
Has anybody timed it (touch begin, start timer, user drags finger, count events, after five seconds count the events and produce an average?)
Thanks
...
Odd problem in an iPhone app.
My application's main view is View A, which is a tab controller. One tab in particular is set to load View B. View B, when you click a button, modally displays View C. View C in turn has a button that, when pressed, sends a message to its delegate (View B's view controller), and the delegate then dismisses ...
I'm adding iAd to my app. Now, in simulator, it works well but when I load it on a device (v4.1) the ADBannerViewDelegate calls bannerView:didFailToReceiveAdWithError: with this description on the error.userInfo
{
ADInternalErrorCode = 3;
NSLocalizedFailureReason = "Ad inventory unavailable";
}
I think my iAd Network setup is ...
Hello,
I have an iPad application that creates and shows a video with an MPMoviePlayerViewController. Here's my code:
MPMoviePlayerViewController *mpvc = [[MPMoviePlayerViewController alloc] initWithContentURL:[NSURL URLWithString:URLEncode(uri)]];
[mpvc setModalTransitionStyle:UIModalTransitionStyleCrossDissolve];
[mpvc setWantsFullSc...