[Solved] How to Create this type of view in IOS? (See in Image)

No need to use any third party library for this :- Navigation bar 1.1 Use that arrow for back button by setting leftbarbuttonitem 1.2 For Progress Bar and progress label you can design separate view and can add it as title view (self.navigationController.navigationItem.titleView) For question and answer, you can use table view 2.1 Question:- Use … Read more

[Solved] Value of type ‘(UIButton) -> ()’ has no member ‘setImage’

Your @IBAction function has the same name as the button, this causes a name ambiguity. Change the name of the function to something else. @IBAction func houseLockPressed(_ sender: UIButton) Also, you are missing the button’s name in the third line. Change self to self.houseLock to refer to the button. 9 solved Value of type ‘(UIButton) … Read more

[Solved] How to display data in table view in swift 3?

For starters, update the following datasource methods func numberOfSections(in tableView: UITableView) -> Int { return finalDict.count } func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? { let titles = Array(finalDict.keys) return titles[section] } func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { let titles = Array(finalDict.keys) let currentTitle = titles[section] let values = … Read more

[Solved] I need advice on creating an app for uploading training videos [closed]

Backend Php will be better to use To post a video you need simple UI having browse or capture video features func createRequest (videoname : String!) -> NSURLRequest { print(“Path of video upload is:\(videoname)”) let param = [ “key” : “\(self.key)”, “secret” : “\( self.secret)”, “package_name” : p_name, “video” :”\(videoname)” ] let boundary = generateBoundaryString() … Read more

[Solved] Image optimization like whatsapp and instagram in ios and android

Try this code: +(UIImage *)scaleAndRotateImage:(UIImage *)image { int kMaxResolution = 640; // Or whatever CGImageRef imgRef = image.CGImage; CGFloat width = CGImageGetWidth(imgRef); CGFloat height = CGImageGetHeight(imgRef); CGAffineTransform transform = CGAffineTransformIdentity; CGRect bounds = CGRectMake(0, 0, width, height); if (width > kMaxResolution || height > kMaxResolution) { CGFloat ratio = width/height; if (ratio > 1) { … Read more

[Solved] Rejection Issue [closed]

You have to set “do not backup” attribute to let iphone manage all your resources downloaded in document directory. Place below code in your didFinishLaunchingWithOptions method of appdelegate – NSArray *docPath = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentDir = [docPath objectAtIndex:0]; NSURL *pathurl=[NSURL fileURLWithPath:documentDir]; const char* filePath = [[URL path] fileSystemRepresentation]; const char* attrName = “com.apple.MobileBackup”; … Read more

[Solved] How to append parameters to string in Objective C?

I’m guessing that the string you put at the beginning is the desired output. In which case your method should be something like… – (NSString *)parameterStringWithWidth:(NSString *)width aspect:(NSInteger)aspect rim:(NSInteger)rim season:(NSString *)season pattern:(NSString *)pattern time:(NSInteger)time { return [NSString stringWithFormat:@”getTyreLabels?width=m%@&aspect=%ld&rim=%ld&season=%@&time=%ld”, width, (long)aspect, (long)rim, season, (long)time]; } That will return the string. Not the URL but you should … Read more

[Solved] Customizing App Appearance on Xcode 3? [closed]

Yes, you use the interface builder. What are you specifically trying to customize? Your question is incredibly vague. Also, you know you can still download Xcode 4 without mountain lion installed. Here is a link on how to go about customizing your app’s UI: http://developer.apple.com/library/ios/#documentation/IDEs/Conceptual/xcode_quick_start/020-Tutorial_Designing_a_User_Interface_with_Interface_Builder/interface_builder_tutorial.html EDIT: You said you wanted to add an image to … Read more