i'm setting new text value to a uilabel. Currently, the new text appears just fine. However, I'd like to add some animation to how the new text appears. I'm wondering what i can do to animate the appearance of the new text.
...
I want to have images inside of a UIScrollView (or at least appear to be inside a UIScrollView) that don't change their size when zooming in and out. I do want the images to maintain their positions when zooming or scrolling.
The use case is that I have a customized map view with pushpins. I want the pushpins to stay in place when zoo...
I have an application that requires loading data from a network for a UITableView from the Internet. However, this delays the loading of the view controller. Any ideas?
...
Is there any way to use micro SIM card from my iPAD in my old mobile? I read about DIY adapters, but it looks too unreliable.
...
Hello,
I just finished my new game using Cocos2d (v 0.99.1) for iPhone. Before releasing it on the AppStore, I would like to make my app universal so it can run fullscreen on iPad.
What are the changes I need to do to my App?
Thanks !
...
I make a basic View-Based application for iPhone in XCode 3.2, but when I switch the emulator to the iPad, the application gets "framed" (not sure what the right term is):
If I adjust the width of the View(s), it has no effect. I cannot adjust the width of the "Window" in Interface Builder (it's greyed out, and adding another Window t...
I was wondering if someone could tell me how to create a custom view controller which will split the screen into two sections and manage the sections seperately in the same manner that the iPad Zillow app does this?
See http://www.zillow.com/ipad/ if you are unfamiliar with the app.
Thanks.
...
Hello, i'm using cocos2d to make an ipad app and i'm just starting out.
So i added a label to my HelloWorld scene and when i tested it out it was really slow. Like i was getting 30 - 40 fps out of 60. i figured out that label's size that was causing the drop in fps. it is a fontsize 128when this happens and i'm just wondering if cclabel...
Hi, I have the following code, and wanted to get other set of eyes to make sure I have written the right code to calculate the frame rate of a scene. Could you please chime in?
This is written for the iPad using SDK 3.2.
thanks!
- (void)drawView:(id)sender
{
mach_timebase_info_data_t timer;
mach_timebase_info(&timer);
uint64_t t1...
Today I walked to through the process of getting my iOS device connected to my computer and running my app. To do that, I had to...
Obtain a developer certificate
Assign the device to my team
Obtain my app ID
and create a provisioning profile
While I understand the process and was able to successfully get my device connected, I don'...
See image for example: http://img25.imageshack.us/img25/6996/90754687.png
The grey background indicates the size of the UILabel frame.
For some reason, the first line of wrapped text doesn't seem to always center, even though I'm using UITextAlignmentCenter.
Here's the code I use to set up my labels:
self.titleLabel = [[UILabel a...
The UIKeyboardTypeNumberPad is not supported on the ipad. Instead, it gives the full keyboard. Is there any way around this?
Alternatively, what would be the code to make sure that the user input actually is in an integer?
...
Hi,
In my app I have added the new Gesture Recognizers that are available in the 3.2 SDK. Everything appears to be working correctly and the response time on the screen been very fast. But for some reason when I add "requireGestureRecognizerToFail" to some of my gestures, there is a very visible delay when the gesture is triggered. B...
Hello all,
I'm using the Quartz 2d apis to display a pdf document in an iPad app I am currently working on, however the text shows up real funky and is unreadable. The text shows up fine on my laptop so its not an issue with the pdf document itself as far as I know. I'm not sure why the document is displaying like this, any help would ...
Hello,
I have previously written an application for Mac OSX that includes a kernel extension. It does not drive any real hardware but is instead an in-kernel IOKit service. Now the task is to figure out if porting of the whole application is possible on the iPad which basically means if kernel extensions can be written for iPad.
I hav...
Hello All,
I am trying to implement following scenario in the IPad environment.
I have list of some information with me and that list is shown on the master view from which user select the particular item and its details is shown on the detail page.
Now I need to show the next and prev button on the navigation bar,so that user can nav...
Hi
Right now I am loading a large number of images when the application launches.
Is there an easy way to determine the maximum total size of images capable of being loaded on any given device?
...
Hi
Apples documentation recommends to use pngs when loading images. But if you have a large number, isn't it possible to conserve memory by using jpegs instead? Or are they internally converted back to png after load so it makes no difference?
...
My app has 3 kinds of objects: A, B and C. Each object is represented by a dictionary like this:
NSDictionary *oneObject = [NSDictionary dictionaryWithObjectsAndKeys:
[NSNumber numberWithInt:i], @"number",
[NSString stringWithString:@"A", @"kind", //this can be A, B or C
[NSNumber numberWithBool:YES], @"used", // YES or NO
...
I'm diving in to 2D graphics programming on the iPad and I want to draw circles where the user touched the screen. Here's my simple code to accomplish this...
View Class
-(void)setTouchPoint:(CGPoint)point
{
touchPoint.x = point.x;
touchPoint.y = point.y;
[self setNeedsDisplay];
}
-(id)initWithFrame:(CGRect)frame
{
self = [super...