ios

glGenLists and iOS

It is possible use Display Lists (glGenLists) on iOS? I'm doing some openGL ES for iPhone platform and I want gain more performance so i think that Display List was a good idea. ...

Change app name in apple store of an already released/available iOS app

Hi, I released my iOS app in Apple App Store some weeks ago and want to rename my mobile app now (I only want to add a space). I did not found an "edit name" button in iTunes Connect so I tried to find a solution via google. But I did not find anything about this. Can someone tell me how to rename the app? Is it enough the rename the ap...

UISegmentedControl with Badge or Highlighting

Occasionally I want to highlight one of segments of a UISegmentedControl, i.e. the third title is "News" and I want to draw user's attention to it. Ideally with a red badge with a number as on the UITabBar - any idea how to achieve this? Feel free to share other ideas as well. I thought about adding the badge as an image just on top of i...

New Test App Build on iTunes 10 Won't Install

I have been developing test builds of an app for some time and have deployed through iTunes successfully until now, with iTunes 10. At the same time I am getting a strange warning in Xcode during the build. It is: warning: building with 'Targeted Device Family' set to iPhone only ('1') not supported with SDK 'Device - iPhone OS 3.2'...

How to implement a Badge for a UIBarButtonItem ?

I want to pu a badge on the UIBarButtonItem that controls popover in a SplitView This code did do nothing: - (void)splitViewController: (UISplitViewController*)svc willHideViewController:(UIViewController *)aViewController withBarButtonItem:(UIBarButtonItem*)barButtonItem forPopoverController: (UIPopoverControll...

NSMutableURLRequest and redirection

Hello stackoverflow, So I am trying to create a request that will automatically follow the redirects in its process. For some reason this is not working, this is what my delegate method looks like. Do I need to do anything else for this to function properly? Thanks! -(NSURLRequest *)connection:(NSURLConnection *)connection w...

Adjust UIPopoverController position after resize

I have a UIPopoverController containing a UITableView. The popover is resized in its view controller's -viewDidAppear function to fit the contents of the table. While the popover resizes properly, its arrow is usually no longer pointing at the original CGRect. Is there a way to force the popover to reposition itself after a resize so ...

IPhone/IPad Credit Card Swipe

Hi, I want to develop an application for iOS devices (iPhone, iPad, iPod Touch) that has the ability to interface to a credit card swipe. There are a bunch of offerings (PaySabre, Square, etc.) that are a combination of a service and a device. For my purposes, I want to be able to purchase just a device that has an API etc. that I can...

Why is this pointer type incompatible

This is the code Dest.h #import <UIKit/UIKit.h> #import <CoreGraphics/CGPDFArray.h> @class Model; // snip @interface Dest : NSObject { CGPDFArrayRef destArray; DestKind kind; } + (id)destWithObject:(CGPDFObjectRef)obj inModel:(Model*)model; - (id)initWithArray:(CGPDFArrayRef)array; Dest.m @implementation Dest + (id)d...

iphone keychain items persist after application uninstall?

I am playing with idandersen's scifihifi-iphone code for keychain and came across the following behavior - I set the password using, say [SFHFKeychainUtils storeUsername:@"User" andPassword:@"123" forServiceName:@"TestService" updateExisting:YES error:&error]; Then delete test application from device and install it a...

UITableViewCell set Border

I have a normal UITableViewCell with custom colors, but how can i change the border? Currently it looks very ugly: http://i.imgur.com/QzFFY.png (i am not able to post images :( ) I only want a tiny little white border. ...

iOS accessibility: label vs hint

What is the difference between the "label" and "hint" property if I'm trying to make a control accessible? Moreover, what do the "traits" do? Are all of these properties spoken by VoiceOver if I fill them in? ...

replace NSRegularExpression & NSTextCheckingResult(ios4) to ios3.1 in iphone ?

application is based on facebook authentication & message post on wall after googling ifind some code in this uses NSRegularExpression & NSTextCheckingResult it generate some error becoz this class compatible with ios4 or lator but i using ios3.1 for removing this what i do (i know to resolve this NSString's rangeofstring or substring ...

How UIView "drawRect" puts contents into it's "layer"?

Hi all, I have read lot of articles to use either "drawRect" or "drawLayer" functions for custom drawing. However, I haven't been able to make out how iOS or Cococa converts drawing placed in "drawRect" (UIView) to it's own layer (UIView.layer) contents? Urgent help required Regards Mohit ...

Fullscreen button in html5 tag

I'm writing a html5 page with a embedded video tag for iPad. How can I hide or disable the fullscreen button? I just need to show the video without the fullscreen option. ...

Install Xcode 3.2.4, get "Base SDK Missing"

When you update Xcode to 3.2.4, your previously working Xcode iOS project gives you the message "Base SDK Missing". Something like this: What gives? How to fix? ...

UiView fadeOut if not touched

I'd like to reproduce this behavior in my iPad application. I have a subView that contains four custom buttons. The view has an alpha value of 0.0 I have another custom button outside of the view descripted above that is always visible. When the user touches the visible button the view appear animating its alpha to 1.0 showing the othe...

How to use Core Data at 3rd level View of navigation

Dear All, I am trying to build a navigation based iPhone application where I want to use Core Data modal at 3rd level view of navigation. The 1st and 2nd level view of this application are just simple tableViews. I have looked at the Apple CoreDataBooks application but there it used the methods for Core Data in the AppDelegate and RootVi...

Hooking Bundles (and other loaded libraries) with MobileSubstrate

Hello, I have recently been working on using MobileSubstrate to hook bundles loaded by an application in iOS, but I have ran into a few problems. I know that you must initialize the hooks when the bundle/library is loaded, and I have tried to use _dyld_register_func_for_add_image() to wait for the executable to load the target library, ...

NSScrollView gives error when scrolling "-[CALayer isEqual:]: message sent to deallocated instance"

Hello. I'm trying to fix my code but I have no idea why I'm getting these errors: modifying layer that is being finalized - 0x11818240 2010-09-10 02:35:53.022 iPhone Monkey Curling[1606:207] modifying layer that is being finalized - 0x11818240 2010-09-10 02:35:53.023 iPhone Monkey Curling[1606:207] modifying layer that is being finalize...