The Twitter app is a tab bar app on the iPhone. Nothing in any of the tabs will rotate, yet, when you click on a link from a tweet, the view controller that is pushed on top of it IS allowed to rotate. The only rotations I have ever doe is from tilting the device, landscape or portrait, but I don't understand how to use 2d transformations and animations to rotate views.
How do you rotate any view with that's a subclass of UIView?
On the iPhone, how could I achieve the same tiled background effect?
For example, I have an pattern image which I want to repeat only horizontally. Would I have to go the route in -drawRect: by myself and loop over to draw the pattern, or is there a convenient method to do that?
Hello,
Is there any converter to convert a C function into ARM (v6) ASM code or I need to do it manually ?
I am trying to gain the performance of a C function on Iphone.
Hi,
I am developing an application for iPhone.I am using some objective c++ classes with .h and .mm extensions.My problem is that when i am trying to access a method in .mm file from .m file i am geting a warning that "No '-methodname' found".how can i resolve this warnings
Thanks in advance
I was wondering how I would go about creating a view that persists through all the over views and controllers in the application. Similarly to how Soundcloud does it with there music player in their iPhone app (See pic). No matter where you go in the application the music player view stays at the top below the toolbar.
Hi
I am new to iphone development. In my application, i want to draw a road map(driving/walking mode) from current location (wherever we are in) into target place which is given by user via textfield. All things should be done inside my application. Is there any idea? or any sample?
I noticed an interesting bug with the JQTouch platform and wanted to know if anyone else has run into it our has a workaround for it. If I have a link with an onclick event and lightly tap the link on the iPhone, the link works, but the click event is not fired. If I tap the same link harder, the event fires.
Any thoughts on this?
Hi
I am new in iphone I am developing a application which is connected with sqlite database.
When we build application in simulator it show value from database to tableview in simulator. When we build that application in device this is not show the value th tableview. I am not understand what problem.
I am new to iphone development. I want to check for a condition whether the image is present in the image view? I have created a image view such as
UIImageView *subview = [[UIImageView alloc] initWithFrame:CGRectMake(10.0f, 6.0f,50.0f, 50.0f)];
How to check whether the image is present in the image view?Please help me out.Thanks.
Lets say I have an employees relationship in an Company entity, and it's to-many. And they're really many. Apple in 100 years, with 1.258.500.073 employees.
Could I simply do something like
NSInteger numEmployees = [apple.employees count];
without firing 1.258.500.073 faults? (Well, in 100 years, the iPhone will easily handle so many objects, for sure...but anyways)
Hey.
My code crashes at this function (at the stringByAppendingFormat: with error objc_msgSend() selector name: stringByAppendingFormat).
This is that line:
// imagesPath = ...iPhone Simulator/4.0/Applications/NUMBERS/Documents/images
UIImage *image = [[UIImage alloc] initWithContentsOfFile:[imagesPath stringByAppendingFormat:@"/%d.png", [[self.postsArrayID objectAtIndex:row] intValue]]];
Could it have something to do with the retaining of objects?
Thanks :)
I am using libxml2 to parse xml content in my iPhone app. The xml content is downloaded from a server similar to the Apple's own TopSongs sample app. When I check for leaks using the Instruments tool, I see memory leaks being reported on xmlNewParserCtxt, xmlNewInputStream and xmlAllocParserInputBuffer. I have called xmlFreeParserCtxt(context) at applicable places (dealloc).
Am I missing something else ? Is this a known issue to contend with when using libxml2 parsers ?
According to the Core Plot Wiki:
Core Plot is built as a static library
for iPhone, so you'll need to drag the
libCorePlot-CocoaTouch.a static
library from under the
CorePlot-CocoaTouch.xcodeproj group to
your target's Link Binary With
Libraries folder.
I do not see the mentioned library, where might it be?
Can anybody explain me how to play video in portrait mode in iphone device. It will be very helpful to if you provide some sample code for referance. Thanks in advance.
Have any well-documented or open source projects targeted iPhone, Blackberry, and Android? Are there other platforms which are better-suited to such an endeavor? Note that I am particularly asking about client-side software, not web apps, though any information about the difficulties of using web apps across multiple mobile platforms is also interesting.
I have an iPhone app that I'm porting to the iPad. I store several of the ViewControllers in xib's that I would like to resize when they're loaded. For example my startup screen with options is a bitmap that can easily scale up (despite the mis-matched aspect ratio) and I'm trying to figure out where I have ability to resize the image/window during xib loading.
Hi all,I want to develop an iphone application that needs an english word dictionary. Can you people suggest me any link from where i can have that database containing a reasonable number of english words with their meanings and example sentence.
Thanks in advance
I am new to iphone development.I have static text and 5 images to be displayed in the scroll view such that as the text scrolls and when it finished it should be followed by the images in the scroll view. The static text content is very large and its height in the text view will be around 1600.Please help me out.Thanks.Any sample code will be more useful.
i have created iphone game.When i pause the game using pause button i quit cliking quit button...
Now when i start the game again ..the previous counter i created using this code...
[NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector(updateTimerFunc) userInfo:nil repeats:YES];
the timer is 100 sec and moves to zero...now it start giving the difference of twwo ,,98,96,94
if i quit the game again ans start this time the difference will become of 4 96,92 ...its keep on increasing ....what is this issue?
kindly help
I'm interested in verifying if a given iPhone static library has been built for ARM or Intel.
Its more curiosity than anything. Is there some kind of Mac OS X or BSD specific tool to do this? This post gives an example in Linux.
Hi, we need to send an http post from an iphone device to our server with some info which the device token (APNS) which we want to store. How on the server do you read the HTTP post and store what is in it? We just have a standard ISP hosted server which currently just has a website.
Thanks
Hi Guys,
I am not sure why the following line:
addDetails.Address = [addDetails.Address stringByReplacingOccurrencesOfRegex:@" +" withString:@" "];
causes an "Unrecognized Selector Sent to Instance" error, closing my iPhone App in my Simulator(XCode).
What's wrong with my code?