Tag: ios

on top tabbar controller or segmented

so guys, i’ve been wondering, currently i’m in the middle of learning on developing apps. i saw a CNBC apps at ipad that looks like the image here : (sorry, new user cant directly post image D:) http://img.ioscake.com/iphone/1291813093.usr105634.jpg my question is, what are those 2 bars on top of the app??(the one with markets, and […]

Project wont run on simulator in xcode 8

After upgrading to xcode8, my project will no longer run on the simulator (runs on a device) Error: /Users/johnsmith/Library/Developer/Xcode/DerivedData/JT-fnslglvifmonzwhlgrchcqujqiwt/Build/Products/Debug-iphonesimulator/ Assets.bundle: Is a directory Command /usr/bin/codesign failed with exit code 1 I have deleted the entire deriveddata folder and cleaned the project several times with no success. Any ideas how to fix please?

How to vary the contents in URL in iOS?

I am having a URL in which it contains images and audio files. I am downloading the images and audio files to document directory by using the below code: // urlsArray contains the list of images and audio urls for(int i= 0 ;i<[urlsArrray count]; i++) { NSString *urlString = [urlsArrray objectAtIndex:i]; NSString *escapedUrlString = [urlString […]

IBM Worklight – How to enable App Authenticity in a native iOS app?

We have a iOS and Android Hybrid App Environment in which we have App Authenticity successfully running (drop down available to control the feature) using: <mobileSecurityTest name=”app”> <testAppAuthenticity/> <testUser realm=”wl_anonymousUserRealm”/> <testDeviceId provisioningType=”none” /> </mobileSecurityTest> We added a “iOS Native API” project to our Worklight project that we use for our native iOS client development in […]

Unable to build openssl in Xcode 4.2.1

I could build openssl in xcode 3.5.2, but recently I upgraded to Xcode 4.2.1. Now when I try to build in the same old Xcode, I’m getting errors. Make[1]: /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2: No such file or directory Cp: libcrypto.a: No such file or directory Cp: libssl.a: No such file or directory Can I have a solution for […]

Converting an Utility application (2 view controllers) to a Tab bar Application

As the title suggests, I have built an utility based app. The app consists (at the moment) of 2 view controllers + a model class hierarchy. The thing is , as I’d like to add some features to the app , I would like to convert it to a TabBar based application. As a first […]

Unknown reason to receive Memory Warning

let me come to issue fast. There is no problem in my code so far. My only concern is Memory management. Let me make my app logic clear. When App is launched globally NSmutableDictionary is declared and nearly 300 images are added to that Dictionary with various keys and images are added using pathForResource:ofType method. […]

Data from Plist is Incorrectly Ordered in UITableView

I have data that is stored in a plist but when I pull it to my UITableView it gets reordered for some reason. Here are my table view data source methods: – (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { return [self.lunch_Dinner count]; } – (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section { return [[self.lunch_Dinner allKeys] objectAtIndex:section]; } – (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { […]

project with source files of Zbar

I am building an iOS, code scanner project using ZBar SDK. I am trying to build my project directly from the source of ZBar, rather than including the libzbar.a static library. Here are the steps i did 1) Copied the source file to my project. 2) Added the path to the folder containing the source […]

UIView animation using 90%CPU

hi i have animation which loop but are using 90% of my iphone CPU processing and are heating up the phone. what have i done wrong ? anybody can give me some advise ? thanks -(void)nextAnimation:(float)previousWidth { //picture loop imageViewTop.image = imageViewBottom.image; imageViewBottom.image = [imageArray objectAtIndex:[imageArray count] – 1]; [imageArray insertObject:imageViewBottom.image atIndex:0]; [imageArray removeLastObject]; imageViewTop.alpha […]