Quantcast
Channel: User Burhanuddin Sunelwala - Stack Overflow
Browsing all 36 articles
Browse latest View live
↧

Comment by Burhanuddin Sunelwala on Two files with same name

Yes. The project is in Swift.

View Article


Comment by Burhanuddin Sunelwala on Text jumps down in UITextField when editing

can you post a screentshot?

View Article

Comment by Burhanuddin Sunelwala on Maximum path cost in matrix

How do you find max cost for each element?

View Article

Comment by Burhanuddin Sunelwala on Hanging (Freezing) issue...

The issue was that are too many views in the app. there are many internal views from the iOS framework itself. For example, if you initialize a UISearchBar, the UISearchBar itself have a UITextField, a...

View Article

Comment by Burhanuddin Sunelwala on How to present a ViewController modally...

@Koen Yes, this is there. Definitely! But can I achieve something from inside B, directly?

View Article


Comment by Burhanuddin Sunelwala on How to filter two Dictionaries with...

a2 is just a variable which is nothing but the dictionary in array2. Wait I will modify the answer so you have a better understanding.

View Article

Comment by Burhanuddin Sunelwala on How to do some stuff in viewDidAppear...

@rmaddy what is the swift solution for Inder's answer?

View Article

Comment by Burhanuddin Sunelwala on How to do some stuff in viewDidAppear...

@InderKumarRathore What is the swift solution for this?

View Article


Comment by Burhanuddin Sunelwala on Why calling super from protocol gives an...

if we replace super with self then I have to implement the init() function in each UIViewController which conforms to this protocol.

View Article


Comment by Burhanuddin Sunelwala on Package manifest at '/Package.swift'...

Getting the same issue.

View Article

Image may be NSFW.
Clik here to view.

Two UILabels like UITableViewCellRightDetail using UIStackView

I have a Horizontal UIStackView with two UILabels. I need it to be styled like UITableViewCellRightDetail.The first Label (on the left) should have more priority in resizing.Here is the example:I need...

View Article

Answer by Burhanuddin Sunelwala for NMACoreRouter calculateRouteWithStops no...

Found the solution!You need to declare NMACoreRouter object as a class variable.class <Class_Name> { var coreRouter: NMACoreRouter! func <Your_Function>() { coreRoute = NMACoreRouter() let...

View Article

iOS 10.3 UISegmentedControl setTitleTextAttributes Crash

iOS 10.3 crashes on UISegmentedControl's setTitleTextAttributes method. Question:What is the reason for the crash?What is the solution?Note: Have already reported this issue to apple, but haven't yet...

View Article


Answer by Burhanuddin Sunelwala for Add multiple stops to Google navigation...

Well we need to append to: parameter for each location. The url scheme will be as follows:from your current locationcomgooglemaps://?daddr=Lat,Lon+to:Lat,Lon+to:Lat,Lon+to:...if you have source...

View Article

Add multiple stops to Google navigation using Universal URL schemes

Is there a way to launch Google Maps app on iOS with multiple stops using Google Maps URL Scheme?

View Article


Image may be NSFW.
Clik here to view.

ArrayType in extension where clause

extension Array where Element: _ArrayType, Element.Generator.Element: Any { func transpose() -> [Element] { if self.isEmpty { return [Element]() } let count = self[0].count var out =...

View Article

Dictation button outside the keyboard

Is there a way to perform dictation on click of a button outside the iOS keyboard. For ex: I have a UITextField with microphone button right. On the click of this button, it should open the same...

View Article


Answer by Burhanuddin Sunelwala for show alertController from a custom class

Well you just need to find the topmost view controller and present the alertcontroller from there.UIViewController *topController = [UIApplication sharedApplication].keyWindow.rootViewController;while...

View Article

How to make google links (or any other links) to open our app?

I am developing a mapping application and I want that whenever a user clicks a google map's link or any other links (except a link from my own domain), it should show an option to open in my app as...

View Article

Answer by Burhanuddin Sunelwala for Syntax to put a variable in a string in...

let variable = 123final let urlString = "https://ozsqiqjf.preview.infomaniak.website/empdata_\(variable).json"\(variable) is what you needORuse string formattinglet variable = 123final let urlString =...

View Article
Browsing all 36 articles
Browse latest View live