iphone

Page flip transition

Hi, I was wondering how to turn this code into a page transition. I want to switch Xibs with this page flipping affect. Thanks! .h: #import <UIKit/UIKit.h> #import <QuartzCore/QuartzCore.h> @interface PageOpenAnimationTutorialViewController : UIViewController { IBOutlet UIButton *openPageButton; IBOutlet UIImageView *pa...

iPhone image problems.

I'm having frequent crashes on iOS 4.0 within my application due to excessive memory. Instruments tells me that it's category is "Malloc 600KB" and the responsible library is ImageIO and the responsible caller is ImageIO_Malloc. I'm using lots of images in this app but no more than I have used in other applications. It's odd because if I...

CoreData doesn't fetch any rows

I have a very basic CoreData backed iPhone application. After I forced the app to generate the sqlite file, I took it and prepopulated it with one record to test loading it into tableview. I've hit a snag, though, because CoreData doesn't seem to be finding the row in the table. - (NSInteger)numberOfSectionsInTableView:(UITableView *)t...

Are there any reasons you wouldn't want to use the Static Analyzer every time you build your iOS app?

I'm diving into iOS development and I just found out about the Static Analyzer and it's been pointing out all sorts of mistakes I was making in the code. The Static Analyzer doesn't really seem to eat up any extra time when building and so I'm wondering why it isn't enabled by default. Are there any reasons you wouldn't want to use the...

Can a sound be played as soon as a page is loaded?

I would like to play a sound as soon as a page dispalyed. I am currently playing sounds using a IBAction doSound after a button is pressed. This works as intended. But, I am also wanting to play music or a short verbal instruction as soon as the page is displayed. I would like to use the same IBAction since it is already set up, but was ...

how to create table alert view

hi iam new to iphone development,first time i am using alert view .. in my application when my button pressed it has to open up table view in alert view and when user selects one of these it has to update to button text after alert view hide.... any idea like how to do this one ,i am right now using picker view for selecting this profes...

How can I add a UIGestureRecognizer to a UITableViewCell subview?

imgView is a UIImageView that is added as a subview to a custom UITableViewCell class. The action isn't being called when the image is tapped. [imgView addGestureRecognizer:[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(openMedia:)]]; ...

MinimumOSVersionn info.plist key? Itunes Connect invalid binary

Hey guys, I'm trying to submit an app with these details: Base SDK: iPhone Device 3.2 Architectures: Standard (armv6 armv7) Target Device Family: iPhone/iPad iPhone OS Deployment Target: iPhone OS 2.2.1 when I submit to Itunes Connect, I get an invalid binary with this followup: "Invalid Binary Architecture - iOS 3.0 introduces su...

Mobile Phone (different platforms): Cell reselection control/Layer3 reporting modification

Ideas welcome how to create an application able to lock phone on a particular operator's cell, prevent cell reselection/handover, modify layer 3 "Measurement Report" messages which handset sends uplink towards base station (it is commont for GSM & UMTS). Platforms: iPhone Symbian S60 3rd, 5th Android Windows Mobile What I currently fi...

UITabbarController:Is there any way to Switch Tabbar Item(s) of Tabbar

Hi Huys, The senario is, I a TabbarViewController, which contains Tab {A, B, C, D}. After User clicked Tab:B, instead Tab {A, B, C, D}, I want show {E, F, G} as the Tabbar item on the Tabbar. Is there any way to switch Tabbar Item Set? I'm a newbie to iOS. Thanks! EDIT: I've also tried to modify self.tabbarcontroller.tabbar.items, but...

Is it possible to hide the navigationcontroller?

Hi, I have a iphone apps with a navigation controller, dans I want to push a view but in this view the navigationController must be hidden, or if it's not possible, is it possible to only hide de left button, so the user can't go back. thanks, alex ...

IPhone Memory management and CATransition

Having some basic issues with managing the total memory from adding and removeing a uiviewcontroller - but only when i add an animation to it using CAtransition. I set up a simple scenario below of the situation: I have a basic view controller that I init/alloc called IVC, and I add to the current uiController: IN the header file it ...

iPhone predicate: One of each.

I was wondering if it was possible to run a query using a predicate specifying "one of each." They do not seem to have anything similar to this in the predicate documentation. Appreciate any help or resources. UPDATE: I want to return every unique instance in a column which contains duplicates. ...

UITableView Header Visible?

Is there any way to determine if a tableview header, not a section header, is visible? ...

Get iPhone to Vibrate.

I've been trying to make the iPhone Vibrate using this code: AudioServicesPlaySystemSound(kSystemSoundID_Vibrate); But is not working, could it be because I am playing sound at the same time as calling this? ...

Run a method after init in cocos2d

I have a loading screen that I initialise with a label to display the loading progression. I want to call my DataManager AFTER initialising the loading screen, and then call a method to switch scenes. Here is my code: -(id) init { if((self=[super init])) { loadingLabel = .... [self addChild:loadingLabel]; /***** This is...

iPhone -- active region of UITabBar

On my simulator, a UITabBar appears to react to mouse clicks up to about 10 pixels above the visible bar. On the phone, it is hard to tell what is going on, but my experience has been that if I put a button right up against the tab bar, users will frequently aim for the button but end up tapping the tab bar, which can be extremely confu...

URL for sending a user to the app review page on device's app store

What's the URL to launch in order to bring the iTunes App Store to the front, and open it to show the Reviews page of an app? I want to send my users to the "Write a Review" page. Some other SO answers provided URLs like the one below, but it doesn't seem to work: itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserR...

Application Crash - Allocations Live Bytes reaches 20 MB

my iphone application has lots of buttons (i created a calendar view with buttons) when i run it with Leaks tool - no leaks are discovered. But somehow Allocation Live Bytes reaches 21MB and application crashes (when buttons are clicked for about 120 times). doesn't system autorelease memory not being used anymore... if there are no lea...

UIActionSheet Like Button.

How could I create a button that looks like the button in a UIActionSheet, as apple have done sometimes in their apps. ...