I am trying to create 2 versions of the exact same app with 2 different branding?
So i created 2 folders in my project
Resources -> Folder1
Resources -> Folder2
I added Folder1 to target 1, and Folder2 to target 2.
The 2 folders contain 2 images named the same but they look different.
However, doesn't matter which target I build it a...
Hello,
I'm using sizeWithFont:constrainedToSize:lineBreakMode: to calculate the actual height of a UILabel. However, the height I get is always based on the complete NSString (before it gets truncated).
In fact, both sizeWithFont:constrainedToSize:lineBreakMode: and sizeWithFont:constrainedToSize: produce identical results as if the UI...
Situation:
I am starting XCode, creating a new project for the iPhone (view application) and loading the XIB file into the IB. I manipulate the view (adding a label with the string "hello"), save, build, run the application, everything is fine.
Now i am localizing the XIB. What i do: right-click on the xib-file, adding the desired langua...
Hi
I am using SDK 4.1 to build an iPhone app and I set the target OS to 3.1.3.
When I install the app on devices running iOS4.1. everything goes smoothly.
When I try to run the app on devices running 3.1.3 I get the stacktrace below.
dyld: Symbol not found: _OBJC_CLASS_$_UINib
Referenced from: /var/mobile/Applications/BDD67A1E-9B40-4...
I'm looking in open source implementations on top of the In App Purchase, maybe with the server-side implementation.
I know about http://urbanairship.com, but I prefer do it in-house.
...
Hello,
I am in a strange dilemma . I have a class clsA which has some methods .I am creating instance of ClsA in other class and accessing methods of clsA . I have declare object of clsA in header file and I m writing these two lines simultaneoulsy .
clsAobj = [[clsA alloc] init];
[clsAobj someemethod];
The problem is that while Debu...
I have the camera working in my app, but after the picture is captured and I select use, the app crashes.
How can I connect this use button and make it set a UIImageView I have created to the captured image?
EDIT
Camera is available and ready
Using two-stage rotation animation.
To use the smoother single-stage animation, this...
The restriction of 1024x1024 as the largest image for an iPhone is a problem with iPhone 4. However if an @2x image is used with maximum dimensions of 2048x2048 everything looks equally good on the 4 as it does on a 3 - tried and tested in simulator and device. Question is, does the image dimension restriction relate to the UIImage or th...
I was discussing this with some friends and we began to wonder about this. Could someone gain access to URLs or other values that are contained in the actual objective-c code after they purchase your app?
Our initial feeling was no, but I wondered if anyone out there had definitive knowledge one way or the other?
I do know that .plist ...
Hello.
Games like FroggyJump for iPhone figure out the rotation of the iphone. I'm getting confused with the acceleration values. How do I calculate the level of rotation? I suppose I need to consider when the iphone isn't perfectly upright.
Thank you.
I'm also wanting to use the new Core Motion framework with the "Device Motion" for...
I am researching for an application at the moment. One of the interesting ideas that came up were to record from both front facing camera and the facetime camera at the same time. Any of you know if this is feasible?
Thanks :)
EDIT:
I mean to say front and rear cameras. I want to record from both cameras at once to two separate streams...
I am at my wits end trying to come up with a design pattern for this paradigm. I haven't had much luck on this site but at this stage I'll try anything.
I am trying to implement a radar type animation and hence I am rotating a view 360 degrees to represent the radius rotating around the circle. I have placed points around this circle an...
I'm dismissing a modal view controller and then immediately presenting another one, but the latter never happens. Here's the code:
[self dismissModalViewControllerAnimated:YES];
UIImagePickerController *picker = [[UIImagePickerController alloc] init];
picker.delegate = self;
picker.sourceType = UIImagePickerControllerSourceTypeSav...
The font is very small and hard for some to read so I'd like to make it closer to the font size used on the buttons below it.
...
Hi there,
I'm building a project in jQTouch & PhoneGap. After building the app in jQTouch, i'm at the point where I need to start adding in the fixed header & tabbar to navigate between sections.
I used this post to get the components visible: http://phonegap.pbworks.com/iPhone%3A-UIControls-%28TabBar%29
Can i please get some help wi...
How can I restrict the width of my aCell.textLabel and aCell.detailTextLabel. I have a big string in textLabel which is overlaying on my detail string. I tried this:
aCell.textLabel.width = aCell.width - 250; but it is not working. Any clue.
...
I'm doing some animations using the UIView animation and presentModalViewController. Through the simulator it looks fine but on device its rather choppy. Even fairly basic views for example a viewController with a UISearchBar, UITableView (empty) with a a custom color and a button on the nav bar is jerky when animated through presentModa...
Hey,every humen.
When i use .m3u8 file for playing,how can I get the current contentURL when MPMoviePlayerViewController playing a XXX.m3u8 file??
The .m3u8 file‘s content is:
EXTM3U
EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=9600
http://XXXXX/test03-1/test03-1.stream/playlist.m3u8
EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=5120
http:/...
Hi guys,
i'm tring to understand the Audio * things for iPhone
currently i'm reading: core audio overview
here i got a question:
from apple example codes:
- (void) calculateSizesFor: (Float64) seconds {
UInt32 maxPacketSize;
UInt32 propertySize = sizeof (maxPacketSize);
AudioFileGetProperty (
audioFileID,
...
Hi,every one.
How can i get the http request when MPMoviePlayerController just playing a http URL??
Thank you very much...
...